52 references to GetRuntimeDirectory
ClientSample (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
csc (1)
src\Compilers\Shared\BuildClient.cs (1)
93: RuntimeEnvironment.GetRuntimeDirectory();
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
dotnet-getdocument (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
dotnet-openapi (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
GetDocument.Insider (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
47var dir = RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
206commandLine.AppendSwitchIfNotNull("/sdkpath:", RuntimeEnvironment.GetRuntimeDirectory());
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
391commandLine.AppendSwitchIfNotNull("/sdkpath:", RuntimeEnvironment.GetRuntimeDirectory());
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
206commandLine.AppendSwitchIfNotNull("/sdkpath:", RuntimeEnvironment.GetRuntimeDirectory());
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
391commandLine.AppendSwitchIfNotNull("/sdkpath:", RuntimeEnvironment.GetRuntimeDirectory());
Microsoft.Build.Tasks.CodeAnalysis.Sdk.UnitTests (4)
CscTests.cs (2)
22AssertEx.Equal($"/sdkpath:{RuntimeEnvironment.GetRuntimeDirectory()} /out:test.exe test.cs", csc.GenerateResponseFileContents()); 34AssertEx.Equal($"/sdkpath:{RuntimeEnvironment.GetRuntimeDirectory()} /nosdkpath /out:test.exe test.cs", csc.GenerateResponseFileContents());
VbcTests.cs (2)
22AssertEx.Equal($"/sdkpath:{RuntimeEnvironment.GetRuntimeDirectory()} /optionstrict:custom /out:test.exe test.vb", vbc.GenerateResponseFileContents()); 34AssertEx.Equal($"/sdkpath:{RuntimeEnvironment.GetRuntimeDirectory()} /optionstrict:custom /nosdkpath /out:test.exe test.vb", vbc.GenerateResponseFileContents());
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTestBase.cs (1)
45return RuntimeEnvironment.GetRuntimeDirectory();
CommandLineTests.cs (1)
516AssertEx.Equal(new[] { RuntimeEnvironment.GetRuntimeDirectory() }.Concat(new[] { @"x", @"..\goo", @"../bar", @"a b" }.Select(prependBasePath)), args.ReferencePaths.ToArray());
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
119var options = ScriptOptions.WithMetadataResolver(ScriptMetadataResolver.WithSearchPaths(RuntimeEnvironment.GetRuntimeDirectory())); 224WithMetadataResolver(ScriptMetadataResolver.WithSearchPaths(RuntimeEnvironment.GetRuntimeDirectory())).
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
2909var parsedArgs = CSharpCommandLineParser.Default.Parse(new[] { pathmapArg, "a.cs" }, TempRoot.Root, RuntimeEnvironment.GetRuntimeDirectory(), null); 2920var parsedArgs = CSharpCommandLineParser.Default.Parse(args, TempRoot.Root, RuntimeEnvironment.GetRuntimeDirectory(), null);
Microsoft.CodeAnalysis.Features (1)
Workspace\MiscellaneousFileUtilities.cs (1)
115searchPaths: [RuntimeEnvironment.GetRuntimeDirectory()],
Microsoft.CodeAnalysis.InteractiveHost (3)
Interactive\Core\InteractiveHost.Service.cs (3)
114FileUtilities.NormalizeDirectoryPath(RuntimeEnvironment.GetRuntimeDirectory()), 527var sdkDirectory = s_currentPlatformInfo.PlatformAssemblyPaths.IsEmpty ? RuntimeEnvironment.GetRuntimeDirectory() : null; 844=> Task.FromResult(RuntimeEnvironment.GetRuntimeDirectory());
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
MetadataShadowCopyProviderTests.cs (1)
34FileUtilities.NormalizeDirectoryPath(RuntimeEnvironment.GetRuntimeDirectory()));
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
35var commandLineArguments = commandLineParser.Parse(commandLineArgs, projectDirectory, isInteractive: false, sdkDirectory: RuntimeEnvironment.GetRuntimeDirectory());
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
324sdkDirectory: RuntimeEnvironment.GetRuntimeDirectory());
MSBuild\MSBuildWorkspace.cs (1)
559var runtimeDir = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
3124sdkDirectory: System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory());
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Microsoft.VisualStudio.LanguageServices (2)
Interactive\VsResetInteractive.cs (1)
134referenceSearchPathsBuilder.Add(RuntimeEnvironment.GetRuntimeDirectory());
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManager.cs (1)
151RuntimeEnvironment.GetRuntimeDirectory()
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
107return CSharpCommandLineParser.Default.Parse(arguments, baseDirectory, RuntimeEnvironment.GetRuntimeDirectory());
RunTests (1)
Options.cs (1)
274var dir = RuntimeEnvironment.GetRuntimeDirectory();
Swaggatherer (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
Templates.Tests (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();
vbc (1)
src\Compilers\Shared\BuildClient.cs (1)
93: RuntimeEnvironment.GetRuntimeDirectory();
VBCSCompiler (1)
src\Compilers\Shared\BuildClient.cs (1)
93: RuntimeEnvironment.GetRuntimeDirectory();
VBCSCompiler.UnitTests (2)
TouchedFileLoggingTests.cs (2)
69new BuildPaths(clientDirectory, _baseDirectory, RuntimeEnvironment.GetRuntimeDirectory(), Path.GetTempPath()), 120new BuildPaths(clientDirectory, _baseDirectory, RuntimeEnvironment.GetRuntimeDirectory(), Path.GetTempPath()),
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\Utilities\DotNetMuxer.cs (1)
76var runtimeDirectory = RuntimeEnvironment.GetRuntimeDirectory();