From: Omar Tawfik Date: Thu, 13 Apr 2017 19:33:10 +0000 (-0700) Subject: Update comment to reflect how RuntimeFeatures should be defined X-Git-Tag: submit/tizen/20210909.063632~11030^2~7263^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1baaa2a6d55b9eb4898ed72222a0d07d031f8f6f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Update comment to reflect how RuntimeFeatures should be defined Commit migrated from https://github.com/dotnet/coreclr/commit/392c18f9d7a2140a4d9189d600b10b0b101922c5 --- 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; } }