From 03d3e1868e91e30b01ed67750329112c6ed69b67 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 30 Nov 2018 15:23:02 -0800 Subject: [PATCH] Make IISDefaults.AuthenticationScheme const (#4342) --- .../IISDefaults.cs | 2 +- .../breakingchanges.netcore.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/breakingchanges.netcore.json diff --git a/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/IISDefaults.cs b/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/IISDefaults.cs index 957273c094..f34da18d1e 100644 --- a/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/IISDefaults.cs +++ b/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/IISDefaults.cs @@ -5,7 +5,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration { public class IISDefaults { - public static readonly string AuthenticationScheme = "Windows"; + public const string AuthenticationScheme = "Windows"; public const string Negotiate = "Negotiate"; public const string Ntlm = "NTLM"; } diff --git a/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/breakingchanges.netcore.json b/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/breakingchanges.netcore.json new file mode 100644 index 0000000000..31cdd9c09b --- /dev/null +++ b/src/IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/breakingchanges.netcore.json @@ -0,0 +1,7 @@ +[ + { + "TypeId": "public class Microsoft.AspNetCore.Server.IISIntegration.IISDefaults", + "MemberId": "public static readonly System.String AuthenticationScheme", + "Kind": "Removal" + } +] \ No newline at end of file