From 1baaa2a6d55b9eb4898ed72222a0d07d031f8f6f Mon Sep 17 00:00:00 2001 From: Omar Tawfik Date: Thu, 13 Apr 2017 12:33:10 -0700 Subject: [PATCH] Update comment to reflect how RuntimeFeatures should be defined Commit migrated from https://github.com/dotnet/coreclr/commit/392c18f9d7a2140a4d9189d600b10b0b101922c5 --- .../mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs b/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs index b93c435..110a55f 100644 --- a/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs +++ b/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs @@ -12,7 +12,9 @@ namespace System.Runtime.CompilerServices public static bool IsSupported(string feature) { // No features are supported for now. - // These features should be added as public static readonly string fields in the same class. + // These features should be added as public const string fields in the same class. + // Example: public const string FeatureName = nameof(FeatureName); + return false; } } -- 2.7.4