6 references to IsCoreClrRuntime
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\RuntimeUtilities.cs (1)
35
=>
IsCoreClrRuntime
&& RuntimeInformation.FrameworkDescription.StartsWith(".NET 6.", StringComparison.Ordinal);
TargetFrameworkUtil.cs (4)
170
public static ImmutableArray<MetadataReference> NetLatest => RuntimeUtilities.
IsCoreClrRuntime
? NetCoreApp.References : NetFramework.References;
171
public static ImmutableArray<MetadataReference> StandardReferences => RuntimeUtilities.
IsCoreClrRuntime
? NetStandard20References : NetFramework.Standard;
172
public static MetadataReference StandardCSharpReference => RuntimeUtilities.
IsCoreClrRuntime
? NetStandard20.ExtraReferences.MicrosoftCSharp : NetFramework.MicrosoftCSharp;
173
public static MetadataReference StandardVisualBasicReference => RuntimeUtilities.
IsCoreClrRuntime
? NetStandard20.ExtraReferences.MicrosoftVisualBasic : NetFramework.MicrosoftVisualBasic;
TestBase.cs (1)
91
public static readonly AssemblyName RuntimeCorLibName = RuntimeUtilities.
IsCoreClrRuntime