31 references to FrameworkDescription
Aspire.Dashboard (2)
Components_Dialogs_SettingsDialog_razor.g.cs (1)
714__builder3.AddContent(76, string.Format(Loc[nameof(Dialogs.SettingsDialogDotNetRuntimeVersion)], System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription)
Utils\VersionHelpers.cs (1)
19var description = RuntimeInformation.FrameworkDescription;
Infrastructure.Common (1)
FrameworkHelper.cs (1)
30_currentFrameworkDescription = RuntimeInformation.FrameworkDescription;
Infrastructure.IntegrationTests (1)
OSAndFrameworkTests.4.1.1.cs (1)
18RuntimeInformation.FrameworkDescription));
Microsoft.AspNetCore.Hosting (1)
src\Shared\ErrorPage\ErrorPageModelBuilder.cs (1)
50RuntimeInformation.FrameworkDescription,
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\Constants.cs (1)
27var runtimeVersion = RuntimeInformation.FrameworkDescription;
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ErrorPage\ErrorPageModelBuilder.cs (1)
50RuntimeInformation.FrameworkDescription,
Microsoft.CodeAnalysis (1)
Compilation\DeterministicKeyBuilder.cs (1)
246writer.Write("frameworkDescription", RuntimeInformation.FrameworkDescription);
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
99logger.LogTrace($".NET Runtime Version: {RuntimeInformation.FrameworkDescription}");
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
CSharpDeterministicKeyBuilderTests.cs (1)
234""frameworkDescription"": ""{RuntimeInformation.FrameworkDescription}"",
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\ProcessTelemetry\RemoteProcessTelemetryService.cs (1)
58m["Framework"] = RuntimeInformation.FrameworkDescription;
Microsoft.CodeAnalysis.Remote.Workspaces (2)
ServiceDescriptors.cs (2)
135=> !RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework") && 136!RuntimeInformation.FrameworkDescription.StartsWith(".NET Native");
Microsoft.CodeAnalysis.Scripting (1)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCache.cs (1)
28return System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription.Contains(".NET Framework")
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\RuntimeUtilities.cs (1)
37=> IsCoreClrRuntime && RuntimeInformation.FrameworkDescription.StartsWith(".NET 6.", StringComparison.Ordinal);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Program.cs (1)
40logger.LogInformation($"BuildHost Runtime Version: {System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription}");
Microsoft.DotNet.RemoteExecutor (2)
RemoteExecutor.cs (2)
84else if (RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase)) 95Environment.Version.Major >= 5 || RuntimeInformation.FrameworkDescription.StartsWith(".NET Core", StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.XUnitExtensions (2)
src\Microsoft.DotNet.XUnitExtensions.Shared\DiscovererHelpers.cs (2)
17public static bool IsRunningOnNetCoreApp { get; } = (Environment.Version.Major >= 5 || !RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase)); 18public static bool IsRunningOnNetFramework { get; } = RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.XUnitV3Extensions (2)
src\Microsoft.DotNet.XUnitExtensions.Shared\DiscovererHelpers.cs (2)
17public static bool IsRunningOnNetCoreApp { get; } = (Environment.Version.Major >= 5 || !RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase)); 18public static bool IsRunningOnNetFramework { get; } = RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase);
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
497if (RuntimeInformation.FrameworkDescription.Contains(".NET Framework")) 733if (!RuntimeInformation.FrameworkDescription.Contains(".NET Framework"))
Microsoft.ML.CpuMath.UnitTests (1)
UnitTests.cs (1)
36public static bool IsNetCore => Environment.Version.Major >= 5 || RuntimeInformation.FrameworkDescription.StartsWith(".NET Core", StringComparison.OrdinalIgnoreCase);
MyFrontend (1)
Components_Layout_AppFooter_razor.g.cs (1)
146string Message = $"Powered by {RuntimeInformation.FrameworkDescription}";
System.Windows.Forms.Primitives.TestUtilities (2)
Extensions\AssertExtensions.cs (1)
15RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.Ordinal);
PlatformDetection.Windows.cs (1)
12public static bool IsNetFramework => RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.OrdinalIgnoreCase);
WinFormsControlsTest (2)
MainForm.cs (1)
41Text = RuntimeInformation.FrameworkDescription;
MdiParent.cs (1)
17Text = RuntimeInformation.FrameworkDescription;
xunit.console (1)
ConsoleRunner.cs (1)
180var platform = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription;