Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Tawfik <OmarTawfik@users.noreply.github.com>2017-04-14 06:07:27 +0300
committerJan Kotas <jkotas@microsoft.com>2017-04-14 07:21:14 +0300
commit5b3ba17544a3bdcc34504ec7454d7967aa262306 (patch)
treea62451b1cadd16abf5d5a1bcc3fc91b37a0c78fb /src/System.Private.CoreLib/shared/System/Runtime
parent7cdc3766b76a0ff1381bf16621768cac01002956 (diff)
Merge pull request dotnet/coreclr#10945 from OmarTawfik/update-runtimefeature-docs
Update comment to reflect how RuntimeFeature members should be defined Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Runtime')
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
index b93c43543..110a55fd2 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
+++ b/src/System.Private.CoreLib/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;
}
}