diff options
author | Omar Tawfik <OmarTawfik@users.noreply.github.com> | 2017-04-10 22:52:22 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-04-10 23:43:27 +0300 |
commit | cc05d471a4537be42dd972381dc3c4417666fd0f (patch) | |
tree | 8bf1c4221f43b9232b176a525ee7d37339f7bf6c /src/System.Private.CoreLib/shared/System/Runtime/CompilerServices | |
parent | 913a1be22aed509312eaee1585bf0489740f12b6 (diff) |
Add empty System.Runtime.CompilerServices.RuntimeFeature.IsSupported() API (#10779)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Runtime/CompilerServices')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs | 19 |
1 files changed, 19 insertions, 0 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 new file mode 100644 index 000000000..b93c43543 --- /dev/null +++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs @@ -0,0 +1,19 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Runtime.CompilerServices +{ + public static class RuntimeFeature + { + /// <summary> + /// Checks whether a certain feature is supported by the Runtime. + /// </summary> + 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. + return false; + } + } +} |