Update comment to reflect how RuntimeFeatures should be defined
authorOmar Tawfik <otawfik@microsoft.com>
Thu, 13 Apr 2017 19:33:10 +0000 (12:33 -0700)
committerOmar Tawfik <otawfik@microsoft.com>
Thu, 13 Apr 2017 19:33:10 +0000 (12:33 -0700)
src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs

index b93c435..110a55f 100644 (file)
@@ -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;
         }
     }