2 implementations of Translate
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
228
public void
Translate
(ref string value)
983
public void
Translate
(ref string value)
259 references to Translate
Microsoft.Build (185)
AssemblyLoadInfo.cs (4)
105
translator.
Translate
(ref assemblyName);
106
translator.
Translate
(ref assemblyFile);
113
translator.
Translate
(ref assemblyName);
114
translator.
Translate
(ref assemblyFile);
AssemblyNameExtension.cs (1)
983
translator.
Translate
(ref asString);
BackEnd\BuildManager\BuildParameters.cs (3)
892
translator.
Translate
(ref _defaultToolsVersion);
902
translator.
Translate
(ref _nodeExeLocation);
905
translator.
Translate
(ref s_startupDirectory);
BackEnd\BuildManager\RequestedProjectState.cs (1)
145
translator.
Translate
(ref s);
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
71
translator.
Translate
(ref typeName);
BackEnd\Components\RequestBuilder\TargetSpecification.cs (1)
58
translator.
Translate
(ref _targetName);
BackEnd\Components\SdkResolution\SdkResolverRequest.cs (5)
85
translator.
Translate
(ref _minimumVersion);
86
translator.
Translate
(ref _name);
87
translator.
Translate
(ref _projectPath);
88
translator.
Translate
(ref _solutionPath);
90
translator.
Translate
(ref _version);
BackEnd\Components\SdkResolution\SdkResult.cs (4)
84
translator.
Translate
(ref _path);
85
translator.
Translate
(ref _version);
87
translator.Translate(ref _additionalPaths, (ITranslator t, ref string s) => t.
Translate
(ref s), count => new List<string>(count));
90
keyTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
BackEnd\Components\SdkResolution\TranslationHelpers.cs (4)
27
t.
Translate
(ref name);
28
t.
Translate
(ref version);
29
t.
Translate
(ref minimumVersion);
48
t.
Translate
(ref itemSpec);
BackEnd\Node\PartialBuildTelemetry.cs (2)
41
translator.
Translate
(ref _initialServerState);
42
translator.
Translate
(ref _serverFallbackReason);
BackEnd\Node\ServerNodeBuildCommand.cs (1)
111
translator.
Translate
(ref _startupDirectory);
BackEnd\Node\ServerNodeBuildResult.cs (1)
35
translator.
Translate
(ref _exitType);
BackEnd\Node\ServerNodeConsoleWrite.cs (1)
36
translator.
Translate
(ref _text);
BackEnd\Shared\BuildRequestBlocker.cs (1)
233
translator.
Translate
(ref _blockingTarget);
BackEnd\Shared\BuildRequestConfiguration.cs (5)
924
translator.
Translate
(ref _projectFullPath);
925
translator.
Translate
(ref _toolsVersion);
931
translator.
Translate
(ref _savedCurrentDirectory);
944
translator.
Translate
(ref _projectFullPath);
945
translator.
Translate
(ref _toolsVersion);
BackEnd\Shared\BuildResult.cs (2)
624
translator.
Translate
(ref _savedCurrentDirectory);
625
translator.
Translate
(ref _schedulerInducedError);
BackEnd\Shared\ConfigurationMetadata.cs (2)
107
translator.
Translate
(ref _projectFullPath);
108
translator.
Translate
(ref _toolsVersion);
Definition\ProjectImportPathMatch.cs (2)
62
translator.
Translate
(ref _propertyName);
63
translator.
Translate
(ref _msBuildPropertyFormat);
Definition\SubToolset.cs (1)
85
translator.
Translate
(ref _subToolsetVersion);
Definition\Toolset.cs (4)
612
translator.
Translate
(ref _toolsVersion);
613
translator.
Translate
(ref _toolsPath);
618
translator.
Translate
(ref _overrideTasksPath);
619
translator.
Translate
(ref _defaultOverrideToolsVersion);
ElementLocation\ElementLocation.cs (2)
148
translator.
Translate
(ref file);
162
translator.
Translate
(ref file);
ElementLocation\RegistryLocation.cs (1)
86
translator.
Translate
(ref registryPath);
FileAccess\FileAccessData.cs (2)
143
translator.
Translate
(ref _path);
144
translator.
Translate
(ref _processArgs);
FileAccess\ProcessData.cs (1)
77
translator.
Translate
(ref _processName);
Instance\ProjectInstance.cs (4)
2418
translator.
Translate
(ref _directory);
2438
translator.
Translate
(ref _originalProjectToolsVersion);
2439
translator.
Translate
(ref _subToolsetVersion);
2473
translator.
Translate
(ref key);
Instance\ProjectItemDefinitionInstance.cs (1)
225
translator.
Translate
(ref _itemType);
Instance\ProjectItemGroupTaskInstance.cs (2)
131
translator.
Translate
(ref typeName);
134
translator.
Translate
(ref _condition);
Instance\ProjectItemGroupTaskItemInstance.cs (10)
443
translator.
Translate
(ref _itemType);
444
translator.
Translate
(ref _include);
445
translator.
Translate
(ref _exclude);
446
translator.
Translate
(ref _remove);
447
translator.
Translate
(ref _matchOnMetadata);
448
translator.
Translate
(ref _matchOnMetadataOptions);
449
translator.
Translate
(ref _keepMetadata);
450
translator.
Translate
(ref _removeMetadata);
451
translator.
Translate
(ref _keepDuplicates);
452
translator.
Translate
(ref _condition);
Instance\ProjectItemGroupTaskMetadataInstance.cs (3)
137
translator.
Translate
(ref _name);
138
translator.
Translate
(ref _value);
139
translator.
Translate
(ref _condition);
Instance\ProjectItemInstance.cs (5)
594
translator.
Translate
(ref _itemType);
1535
translator.
Translate
(ref _includeEscaped);
1536
translator.
Translate
(ref _includeBeforeWildcardExpansionEscaped);
1538
translator.
Translate
(ref _definingFileEscaped);
1757
translator.
Translate
(ref _includeEscaped);
Instance\ProjectMetadataInstance.cs (4)
94
translator.
Translate
(ref _name);
95
translator.
Translate
(ref _escapedValue);
182
translator.
Translate
(ref mutableName);
183
translator.
Translate
(ref mutableValue);
Instance\ProjectOnErrorInstance.cs (3)
120
translator.
Translate
(ref typeName);
123
translator.
Translate
(ref _executeTargets);
124
translator.
Translate
(ref _condition);
Instance\ProjectPropertyGroupTaskInstance.cs (2)
130
translator.
Translate
(ref typeName);
133
translator.
Translate
(ref _condition);
Instance\ProjectPropertyGroupTaskPropertyInstance.cs (3)
135
translator.
Translate
(ref _name);
136
translator.
Translate
(ref _value);
137
translator.
Translate
(ref _condition);
Instance\ProjectPropertyInstance.cs (4)
176
translator.
Translate
(ref _name);
177
translator.
Translate
(ref _escapedValue);
278
translator.
Translate
(ref name);
279
translator.
Translate
(ref escapedValue);
Instance\ProjectTargetInstance.cs (9)
552
translator.
Translate
(ref _name);
553
translator.
Translate
(ref _condition);
554
translator.
Translate
(ref _inputs);
555
translator.
Translate
(ref _outputs);
556
translator.
Translate
(ref _returns);
557
translator.
Translate
(ref _keepDuplicateOutputs);
558
translator.
Translate
(ref _dependsOnTargets);
559
translator.
Translate
(ref _beforeTargets);
560
translator.
Translate
(ref _afterTargets);
Instance\ProjectTaskInstance.cs (9)
363
translator.
Translate
(ref typeName);
366
translator.
Translate
(ref _name);
367
translator.
Translate
(ref _condition);
368
translator.
Translate
(ref _continueOnError);
369
translator.
Translate
(ref _msbuildRuntime);
370
translator.
Translate
(ref _msbuildArchitecture);
393
translator.
Translate
(ref key);
403
translator.
Translate
(ref item1);
411
translator.
Translate
(ref item1);
Instance\ProjectTaskOutputItemInstance.cs (4)
141
translator.
Translate
(ref typeName);
144
translator.
Translate
(ref _itemType);
145
translator.
Translate
(ref _taskParameter);
146
translator.
Translate
(ref _condition);
Instance\ProjectTaskOutputPropertyInstance.cs (4)
141
translator.
Translate
(ref typeName);
144
translator.
Translate
(ref _propertyName);
145
translator.
Translate
(ref _taskParameter);
146
translator.
Translate
(ref _condition);
Instance\TaskRegistry.cs (7)
1052
translator.
Translate
(ref _name);
1767
translator.
Translate
(ref _inlineTaskXmlBody);
1776
translator.
Translate
(ref key);
1797
translator.
Translate
(ref name);
1800
translator.
Translate
(ref propertyTypeName);
1813
translator.
Translate
(ref _registeredName);
1815
translator.
Translate
(ref _taskFactory);
Logging\LoggerDescription.cs (2)
347
translator.
Translate
(ref _loggerClassName);
348
translator.
Translate
(ref _loggerSwitchParameters);
LogMessagePacketBase.cs (36)
480
translator.
Translate
(ref assemblyName);
533
translator.
Translate
(ref fileLocation);
878
translator.
Translate
(ref message);
879
translator.
Translate
(ref helpKeyword);
880
translator.
Translate
(ref senderName);
914
translator.
Translate
(ref code);
926
translator.
Translate
(ref file);
932
translator.
Translate
(ref subCategory);
941
translator.
Translate
(ref code);
953
translator.
Translate
(ref file);
959
translator.
Translate
(ref subCategory);
971
translator.
Translate
(ref commandLine);
974
translator.
Translate
(ref taskName);
993
translator.
Translate
(ref filePath);
1022
translator.
Translate
(ref projectFile);
1057
translator.
Translate
(ref elementName);
1058
translator.
Translate
(ref elementDescription);
1059
translator.
Translate
(ref evaluationPassDescription);
1060
translator.
Translate
(ref file);
1227
translator.
Translate
(ref message);
1228
translator.
Translate
(ref helpKeyword);
1229
translator.
Translate
(ref senderName);
1248
translator.
Translate
(ref code);
1260
translator.
Translate
(ref file);
1266
translator.
Translate
(ref subCategory);
1290
translator.
Translate
(ref code);
1302
translator.
Translate
(ref file);
1308
translator.
Translate
(ref subCategory);
1335
translator.
Translate
(ref commandLine);
1338
translator.
Translate
(ref taskName);
1360
translator.
Translate
(ref responseFilePath);
1416
translator.
Translate
(ref projectFile);
1524
translator.
Translate
(ref elementName);
1525
translator.
Translate
(ref elementDescription);
1526
translator.
Translate
(ref evaluationPassDescription);
1527
translator.
Translate
(ref file);
TaskHostConfiguration.cs (7)
415
translator.
Translate
(ref _startupDirectory);
438
translator.
Translate
(ref _projectFileOfTask);
439
translator.
Translate
(ref _taskName);
440
translator.
Translate
(ref _taskLocation);
446
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
453
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
460
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
TaskHostTaskComplete.cs (1)
242
translator.
Translate
(ref _taskExceptionMessage);
TaskParameter.cs (11)
453
translator.
Translate
(ref escapedItemSpec);
454
translator.
Translate
(ref escapedDefiningProject);
474
translator.
Translate
(ref escapedItemSpec);
475
translator.
Translate
(ref escapedDefiningProject);
549
translator.
Translate
(ref stringParam);
567
translator.
Translate
(ref stringValue);
616
translator.
Translate
(ref valueString);
645
translator.
Translate
(ref valueString);
670
translator.
Translate
(ref valueString);
699
translator.
Translate
(ref valueString);
710
translator.
Translate
(ref stringArray[i]);
TranslatorHelpers.cs (2)
250
translator.
Translate
(ref name);
257
translator.
Translate
(ref codeBase);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BinaryTranslator_Tests.cs (2)
803
TranslationHelpers.GetWriteTranslator().
Translate
(ref value);
806
TranslationHelpers.GetReadTranslator().
Translate
(ref deserializedValue);
Microsoft.Build.Tasks.Core (20)
AssemblyNameExtension.cs (1)
983
translator.
Translate
(ref asString);
GetSDKReferenceFiles.cs (5)
1256
translator.TranslateDictionary(ref _pathToReferenceMetadata, (ITranslator t, ref string s) => t.
Translate
(ref s), (ITranslator t, ref SdkReferenceInfo info) =>
1263
t.
Translate
(ref fusionName);
1264
t.
Translate
(ref imageRuntime);
1273
translator.TranslateDictionary(ref _directoryToFileList, (ITranslator t, ref string s) => t.
Translate
(ref s), (ITranslator t, ref List<string> fileList) =>
1275
t.Translate(ref fileList, (ITranslator t, ref string str) => { t.
Translate
(ref str); });
ResGenDependencies.cs (7)
104
(ITranslator translator, ref string s) => translator.
Translate
(ref s),
113
(ITranslator translator, ref string s) => translator.
Translate
(ref s),
121
translator.
Translate
(ref baseLinkedFileDirectory);
245
translator.
Translate
(ref filename);
337
translator.
Translate
(ref assemblySimpleName);
339
translator.
Translate
(ref neutralResourceLanguage);
340
translator.
Translate
(ref filename);
ResolveComReferenceCache.cs (2)
99
translator.
Translate
(ref axImpLocation);
100
translator.
Translate
(ref tlbImpLocation);
SystemState.cs (1)
179
translator.
Translate
(ref runtimeVersion);
TaskTranslatorHelpers.cs (2)
32
translator.
Translate
(ref identifier);
34
translator.
Translate
(ref profile);
TranslatorHelpers.cs (2)
250
translator.
Translate
(ref name);
257
translator.
Translate
(ref codeBase);
MSBuild (52)
AssemblyLoadInfo.cs (4)
105
translator.
Translate
(ref assemblyName);
106
translator.
Translate
(ref assemblyFile);
113
translator.
Translate
(ref assemblyName);
114
translator.
Translate
(ref assemblyFile);
AssemblyNameExtension.cs (1)
983
translator.
Translate
(ref asString);
LogMessagePacketBase.cs (26)
477
translator.
Translate
(ref assemblyLocation);
533
translator.
Translate
(ref fileLocation);
878
translator.
Translate
(ref message);
879
translator.
Translate
(ref helpKeyword);
880
translator.
Translate
(ref senderName);
914
translator.
Translate
(ref code);
926
translator.
Translate
(ref file);
932
translator.
Translate
(ref subCategory);
941
translator.
Translate
(ref code);
953
translator.
Translate
(ref file);
959
translator.
Translate
(ref subCategory);
971
translator.
Translate
(ref commandLine);
974
translator.
Translate
(ref taskName);
993
translator.
Translate
(ref filePath);
1227
translator.
Translate
(ref message);
1228
translator.
Translate
(ref helpKeyword);
1229
translator.
Translate
(ref senderName);
1248
translator.
Translate
(ref code);
1260
translator.
Translate
(ref file);
1266
translator.
Translate
(ref subCategory);
1290
translator.
Translate
(ref code);
1302
translator.
Translate
(ref file);
1308
translator.
Translate
(ref subCategory);
1335
translator.
Translate
(ref commandLine);
1338
translator.
Translate
(ref taskName);
1360
translator.
Translate
(ref responseFilePath);
TaskHostConfiguration.cs (7)
415
translator.
Translate
(ref _startupDirectory);
438
translator.
Translate
(ref _projectFileOfTask);
439
translator.
Translate
(ref _taskName);
440
translator.
Translate
(ref _taskLocation);
446
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
453
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
460
objectTranslator: (ITranslator t, ref string s) => t.
Translate
(ref s),
TaskHostTaskComplete.cs (1)
242
translator.
Translate
(ref _taskExceptionMessage);
TaskParameter.cs (11)
453
translator.
Translate
(ref escapedItemSpec);
454
translator.
Translate
(ref escapedDefiningProject);
474
translator.
Translate
(ref escapedItemSpec);
475
translator.
Translate
(ref escapedDefiningProject);
549
translator.
Translate
(ref stringParam);
567
translator.
Translate
(ref stringValue);
616
translator.
Translate
(ref valueString);
645
translator.
Translate
(ref valueString);
670
translator.
Translate
(ref valueString);
699
translator.
Translate
(ref valueString);
710
translator.
Translate
(ref stringArray[i]);
TranslatorHelpers.cs (2)
250
translator.
Translate
(ref name);
257
translator.
Translate
(ref codeBase);