Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JunTaoLuo committed Feb 16, 2017
1 parent 8537b61 commit cccfbb7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/JwtBearerSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public Startup(IHostingEnvironment env)
if (env.IsDevelopment())
{
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
#pragma warning disable CS0618
builder.AddUserSecrets();
#pragma warning restore CS0618
}

builder.AddEnvironmentVariables();
Expand Down
2 changes: 2 additions & 0 deletions samples/OpenIdConnect.AzureAdSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
if (env.IsDevelopment())
{
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
#pragma warning disable CS0618
builder.AddUserSecrets();
#pragma warning restore CS0618
}

builder.AddEnvironmentVariables();
Expand Down
2 changes: 2 additions & 0 deletions samples/OpenIdConnectSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
if (env.IsDevelopment())
{
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
#pragma warning disable CS0618
builder.AddUserSecrets();
#pragma warning restore CS0618
}

builder.AddEnvironmentVariables();
Expand Down
2 changes: 2 additions & 0 deletions samples/SocialSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ public Startup(IHostingEnvironment env)
if (env.IsDevelopment())
{
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
#pragma warning disable CS0618
builder.AddUserSecrets();
#pragma warning restore CS0618
}

builder.AddEnvironmentVariables();
Expand Down

0 comments on commit cccfbb7

Please sign in to comment.