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

Commit cccfbb7

Browse files
committed
Disable warning
1 parent 8537b61 commit cccfbb7

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

samples/JwtBearerSample/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public Startup(IHostingEnvironment env)
2424
if (env.IsDevelopment())
2525
{
2626
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
27+
#pragma warning disable CS0618
2728
builder.AddUserSecrets();
29+
#pragma warning restore CS0618
2830
}
2931

3032
builder.AddEnvironmentVariables();

samples/OpenIdConnect.AzureAdSample/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
2828
if (env.IsDevelopment())
2929
{
3030
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
31+
#pragma warning disable CS0618
3132
builder.AddUserSecrets();
33+
#pragma warning restore CS0618
3234
}
3335

3436
builder.AddEnvironmentVariables();

samples/OpenIdConnectSample/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ public Startup(IHostingEnvironment env)
2828
if (env.IsDevelopment())
2929
{
3030
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
31+
#pragma warning disable CS0618
3132
builder.AddUserSecrets();
33+
#pragma warning restore CS0618
3234
}
3335

3436
builder.AddEnvironmentVariables();

samples/SocialSample/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ public Startup(IHostingEnvironment env)
3434
if (env.IsDevelopment())
3535
{
3636
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
37+
#pragma warning disable CS0618
3738
builder.AddUserSecrets();
39+
#pragma warning restore CS0618
3840
}
3941

4042
builder.AddEnvironmentVariables();

0 commit comments

Comments
 (0)