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