3 overrides of
System.Diagnostics.Process (1)
System\Collections\Specialized\StringDictionaryWrapper.cs (1)
20
public override string?
this
[string key]
System.Net.Mail (2)
System\Net\TrackingStringDictionary.cs (1)
57
public override string?
this
[string key]
System\Net\TrackingValidationObjectDictionary.cs (1)
148
public override string?
this
[string key]
57 writes to
aspire (6)
DotNet\DotNetCliRunner.cs (6)
513
startInfo.EnvironmentVariables
[
envKvp.Key] = envKvp.Value;
525
startInfo.EnvironmentVariables
[
KnownConfigNames.UnixSocketPath] = socketPath;
532
startInfo.EnvironmentVariables
[
KnownConfigNames.CliProcessId] = GetCurrentProcessId().ToString(CultureInfo.InvariantCulture);
538
startInfo.EnvironmentVariables
[
KnownConfigNames.CliProcessStarted] = GetCurrentProcessStartTime().ToString(CultureInfo.InvariantCulture);
542
startInfo.EnvironmentVariables
[
KnownConfigNames.MsBuildTerminalLogger] = "false";
547
startInfo.EnvironmentVariables
[
KnownConfigNames.DebugSessionInfo] = configuration[KnownConfigNames.DebugSessionInfo];
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
dotnet.Tests (3)
ShellShimTests\ShellShimRepositoryTests.cs (3)
470
processStartInfo.EnvironmentVariables
[
"PATH"] = environmentProvider.GetEnvironmentVariable("PATH");
473
processStartInfo.EnvironmentVariables
[
"DOTNET_ROOT"] =
478
processStartInfo.EnvironmentVariables
[
"DOTNET_ROOT(x86)"] =
dotnet-format (1)
Utilities\ProcessRunner.cs (1)
185
processStartInfo.EnvironmentVariables
[
pair.Key] = pair.Value;
HelixTestRunner (2)
ProcessUtil.cs (2)
107
process.StartInfo.EnvironmentVariables
[
"COMPlus_DbgEnableMiniDump"] = "1";
108
process.StartInfo.EnvironmentVariables
[
"COMPlus_DbgMiniDumpName"] = Path.Combine(dumpDirectoryPath, $"{Path.GetFileName(filename)}.%d.dmp");
InteropTests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Microsoft.AspNetCore.Server.IntegrationTesting (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
Microsoft.DotNet.Open.Api.Tools.Tests (1)
ProcessEx.cs (1)
72
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
Microsoft.Extensions.AI.Templates.Tests (1)
Infrastructure\TestCommand.cs (1)
48
processStartInfo.EnvironmentVariables
[
key] = value;
Microsoft.Extensions.ApiDescription.Client.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
RunTests (1)
ProcessRunner.cs (1)
199
processStartInfo.EnvironmentVariables
[
pair.Key] = pair.Value;
System.Configuration.ConfigurationManager (1)
System\Diagnostics\TraceUtils.cs (1)
210
dest
[
key] = source[key];
System.Net.Mail (9)
System\Net\Mail\MailMessage.cs (1)
380
wholeView.ContentType.Parameters
[
"type"] = view.ContentType.MediaType;
System\Net\Mime\ContentDisposition.cs (1)
103
Parameters
[
FileNameKey] = value;
System\Net\Mime\ContentType.cs (3)
66
Parameters
[
"boundary"] = value;
82
Parameters
[
"charset"] = value;
134
Parameters
[
"name"] = value;
System\Net\TrackingStringDictionary.cs (1)
67
base
[
key] = value;
System\Net\TrackingValidationObjectDictionary.cs (3)
78
base
[
key] = valueToAdd.ToString();
89
base
[
key] = value;
140
base
[
key] = value.ToString();
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
47
psi.EnvironmentVariables
[
"LC_ALL"] = "C";
System.Windows.Forms.IntegrationTests.Common (1)
TestHelpers.cs (1)
116
startInfo.EnvironmentVariables
[
"DOTNET_ROOT"] = dotnetPath;
Templates.Blazor.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Mvc.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118
startInfo.EnvironmentVariables
[
envVar.Key] = envVar.Value;
122
startInfo.EnvironmentVariables
[
"NUGET_PACKAGES"] = NUGET_PACKAGES;
126
startInfo.EnvironmentVariables
[
"NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
620
startInfo.EnvironmentVariables
[
kvp.Key] = kvp.Value;
21 references to
dotnet.Tests (6)
CommandTests\MSBuild\GivenForwardingApp.cs (2)
74
startInfo.EnvironmentVariables
[
"env1"].Should().Be("env1value");
75
startInfo.EnvironmentVariables
[
"env2"].Should().Be("env2value");
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (1)
656
result.StartInfo.EnvironmentVariables
[
dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestFromDll.cs (1)
79
result.StartInfo.EnvironmentVariables
[
dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
CommandTests\VSTest\VSTestTests.cs (1)
118
result.StartInfo.EnvironmentVariables
[
dotnetRoot].Should().Be(Path.GetDirectoryName(dotnet));
NuGetSignatureVerificationEnablerTests.cs (1)
152
Assert.Equal(expectedValue, startInfo.EnvironmentVariables
[
NuGetSignatureVerificationEnabler.DotNetNuGetSignatureVerification]);
Microsoft.Build.Tasks.Core (5)
ManifestUtil\MetadataReader.cs (5)
76
public string Name => Attributes
[
nameof(Name)];
77
public string Version => Attributes
[
nameof(Version)];
78
public string PublicKeyToken => Attributes
[
nameof(PublicKeyToken)];
79
public string Culture => Attributes
[
nameof(Culture)];
80
public string ProcessorArchitecture => Attributes
[
nameof(ProcessorArchitecture)];
Microsoft.DotNet.SignTool (1)
src\BatchSignUtil.cs (1)
432
string path = processStartInfo.EnvironmentVariables
[
"PATH"];
System.Configuration.ConfigurationManager (1)
System\Diagnostics\TraceUtils.cs (1)
210
dest[key] = source
[
key];
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\DelimitedListTraceListener.cs (1)
54
string? delimiter = Attributes
[
DelimiterKey];
System.Net.Mail (7)
System\Net\Mime\ContentDisposition.cs (1)
94
get { return Parameters
[
FileNameKey]; }
System\Net\Mime\ContentType.cs (3)
57
get { return Parameters
[
"boundary"]; }
73
get { return Parameters
[
"charset"]; }
118
string? value = Parameters
[
"name"];
System\Net\TrackingStringDictionary.cs (1)
59
get { return base
[
key]; }
System\Net\TrackingValidationObjectDictionary.cs (2)
126
return base
[
key];
154
return base
[
key];