2 implementations of Translate
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
178public void Translate(ref int value) 1023public void Translate(ref int value)
184 references to Translate
Microsoft.Build (103)
BackEnd\BuildManager\BuildParameters.cs (3)
973translator.Translate(ref _buildId); 986translator.Translate(ref _maxNodeCount); 987translator.Translate(ref _memoryUseLimit);
BackEnd\Components\BuildRequestEngine\BuildRequestConfigurationResponse.cs (3)
77translator.Translate(ref _nodeConfigId); 78translator.Translate(ref _globalConfigId); 79translator.Translate(ref _resultsNodeId);
BackEnd\Components\Caching\ConfigCache.cs (1)
370(ITranslator aTranslator, ref int configId) => aTranslator.Translate(ref configId),
BackEnd\Components\Caching\ResultsCache.cs (1)
246(ITranslator aTranslator, ref int i) => aTranslator.Translate(ref i),
BackEnd\Components\Communications\LogMessagePacket.cs (10)
128translator.Translate(ref count); 157translator.Translate(ref kind); 158translator.Translate(ref evaluationPass); 163translator.Translate(ref line); 179translator.Translate(ref numberOfHits); 411translator.Translate(ref count); 445translator.Translate(ref kind); 446translator.Translate(ref evaluationPass); 451translator.Translate(ref line); 481translator.Translate(ref numberOfHits);
BackEnd\Components\Communications\TranslatorExtensions.cs (2)
39translator.Translate(ref count); 52translator.Translate(ref count);
BackEnd\Components\SdkResolution\SdkResolverRequest.cs (1)
89translator.Translate(ref _submissionId);
BackEnd\Node\NodeConfiguration.cs (1)
160translator.Translate(ref _nodeId);
BackEnd\Node\ServerNodeBuildResult.cs (1)
34translator.Translate(ref _exitCode);
BackEnd\Shared\BuildRequest.cs (7)
425translator.Translate(ref _submissionId); 426translator.Translate(ref _configurationId); 427translator.Translate(ref _globalRequestId); 428translator.Translate(ref _parentGlobalRequestId); 429translator.Translate(ref _nodeRequestId); 438translator.Translate(ref _projectContextId); 439translator.Translate(ref _scheduledNodeId);
BackEnd\Shared\BuildRequestBlocker.cs (2)
230translator.Translate(ref _blockedGlobalRequestId); 232translator.Translate(ref _blockingGlobalRequestId);
BackEnd\Shared\BuildRequestConfiguration.cs (5)
948translator.Translate(ref _configId); 955translator.Translate(ref _resultsNodeId); 958translator.Translate(ref _projectEvaluationId); 969translator.Translate(ref _configId); 977translator.Translate(ref _projectEvaluationId);
BackEnd\Shared\BuildRequestUnblocker.cs (1)
111translator.Translate(ref _blockedGlobalRequestId);
BackEnd\Shared\BuildResult.cs (8)
637translator.Translate(ref _submissionId); 638translator.Translate(ref _configurationId); 639translator.Translate(ref _globalRequestId); 640translator.Translate(ref _parentGlobalRequestId); 641translator.Translate(ref _nodeRequestId); 685translator.Translate(ref _version); 697translator.Translate(ref _version); 715translator.Translate(ref _evaluationId);
BackEnd\Shared\ResourceRequest.cs (2)
95translator.Translate(ref _globalRequestId); 98translator.Translate(ref _numCores);
BackEnd\Shared\ResourceResponse.cs (2)
60translator.Translate(ref _globalRequestId); 61translator.Translate(ref _numCores);
BackEnd\Shared\TargetResult.cs (1)
352translator.Translate(ref itemsCount);
ElementLocation\ElementLocation.cs (4)
149translator.Translate(ref line); 150translator.Translate(ref column); 163translator.Translate(ref line); 164translator.Translate(ref column);
Instance\ProjectInstance.cs (5)
2517translator.Translate(ref _evaluationId); 2585translator.Translate(ref typeCount); 2590translator.Translate(ref itemCount); 2602translator.Translate(ref typeCount); 2608translator.Translate(ref itemCount);
Instance\TaskRegistry.cs (2)
1877translator.Translate(ref _registrationOrderId); 1894translator.Translate(ref _nextRegistrationOrderId);
Logging\LoggerDescription.cs (1)
351translator.Translate(ref _loggerId);
Logging\TargetConsoleConfiguration.cs (1)
44translator.Translate(ref _bufferWidth);
src\msbuild\src\Shared\LogMessagePacketBase.cs (19)
368translator.Translate(ref _sinkId); 402translator.Translate(ref packetVersion); 434translator.Translate(ref packetVersion); 795translator.Translate(ref columnNumber); 798translator.Translate(ref endColumnNumber); 801translator.Translate(ref endLineNumber); 807translator.Translate(ref lineNumber); 822translator.Translate(ref columnNumber); 825translator.Translate(ref endColumnNumber); 828translator.Translate(ref endLineNumber); 834translator.Translate(ref lineNumber); 918translator.Translate(ref columnNumber); 921translator.Translate(ref endColumnNumber); 924translator.Translate(ref endLineNumber); 930translator.Translate(ref lineNumber); 960translator.Translate(ref columnNumber); 963translator.Translate(ref endColumnNumber); 966translator.Translate(ref endLineNumber); 972translator.Translate(ref lineNumber);
src\msbuild\src\Shared\TaskHostBuildRequest.cs (4)
114translator.Translate(ref _requestId); 139translator.Translate(ref length); 166translator.Translate(ref length); 193translator.Translate(ref length);
src\msbuild\src\Shared\TaskHostBuildResponse.cs (2)
114translator.Translate(ref _requestId); 131translator.Translate(ref count);
src\msbuild\src\Shared\TaskHostConfiguration.cs (3)
467translator.Translate(ref _nodeId); 496translator.Translate(ref _lineNumberOfTask); 497translator.Translate(ref _columnNumberOfTask);
src\msbuild\src\Shared\TaskHostCoresRequest.cs (2)
47translator.Translate(ref _requestId); 48translator.Translate(ref _requestedCores);
src\msbuild\src\Shared\TaskHostCoresResponse.cs (2)
42translator.Translate(ref _requestId); 43translator.Translate(ref _grantedCores);
src\msbuild\src\Shared\TaskHostIsRunningMultipleNodesRequest.cs (1)
27translator.Translate(ref _requestId);
src\msbuild\src\Shared\TaskHostIsRunningMultipleNodesResponse.cs (1)
36translator.Translate(ref _requestId);
src\msbuild\src\Shared\TaskParameter.cs (5)
292translator.Translate(ref length); 424translator.Translate(ref length); 452translator.Translate(ref length); 507translator.Translate(ref length); 518translator.Translate(ref length);
Microsoft.Build.Framework (14)
BackEnd\TranslatorHelpers.cs (8)
209translator.Translate(ref count); 223translator.Translate(ref count); 274translator.Translate(ref count); 311translator.Translate(ref lcid); 339translator.Translate(ref major); 340translator.Translate(ref minor); 341translator.Translate(ref build); 342translator.Translate(ref revision);
InterningReadTranslator.cs (3)
39_translator.Translate(ref key); 53_translator.Translate(ref directoryKey); 54_translator.Translate(ref fileNameKey);
InterningWriteTranslator.cs (3)
115_translator.Translate(ref index); 127_translator.Translate(ref directoryId); 128_translator.Translate(ref fileNameId);
Microsoft.Build.Tasks.Core (28)
AssemblyDependency\Node\RarNodeExecuteRequest.cs (2)
55translator.Translate(ref _lineNumberOfTaskNode); 56translator.Translate(ref _columnNumberOfTaskNode);
AssemblyDependency\Node\RarNodeExecuteResponse.cs (1)
41translator.Translate(ref _numCopyLocalFiles);
GetSDKReferenceFiles.cs (1)
1278translator.Translate(ref _hash);
src\msbuild\src\Shared\LogMessagePacketBase.cs (19)
368translator.Translate(ref _sinkId); 402translator.Translate(ref packetVersion); 434translator.Translate(ref packetVersion); 795translator.Translate(ref columnNumber); 798translator.Translate(ref endColumnNumber); 801translator.Translate(ref endLineNumber); 807translator.Translate(ref lineNumber); 822translator.Translate(ref columnNumber); 825translator.Translate(ref endColumnNumber); 828translator.Translate(ref endLineNumber); 834translator.Translate(ref lineNumber); 918translator.Translate(ref columnNumber); 921translator.Translate(ref endColumnNumber); 924translator.Translate(ref endLineNumber); 930translator.Translate(ref lineNumber); 960translator.Translate(ref columnNumber); 963translator.Translate(ref endColumnNumber); 966translator.Translate(ref endLineNumber); 972translator.Translate(ref lineNumber);
src\msbuild\src\Shared\TaskParameter.cs (5)
292translator.Translate(ref length); 424translator.Translate(ref length); 452translator.Translate(ref length); 507translator.Translate(ref length); 518translator.Translate(ref length);
MSBuild (39)
src\msbuild\src\Shared\LogMessagePacketBase.cs (19)
368translator.Translate(ref _sinkId); 402translator.Translate(ref packetVersion); 434translator.Translate(ref packetVersion); 795translator.Translate(ref columnNumber); 798translator.Translate(ref endColumnNumber); 801translator.Translate(ref endLineNumber); 807translator.Translate(ref lineNumber); 822translator.Translate(ref columnNumber); 825translator.Translate(ref endColumnNumber); 828translator.Translate(ref endLineNumber); 834translator.Translate(ref lineNumber); 918translator.Translate(ref columnNumber); 921translator.Translate(ref endColumnNumber); 924translator.Translate(ref endLineNumber); 930translator.Translate(ref lineNumber); 960translator.Translate(ref columnNumber); 963translator.Translate(ref endColumnNumber); 966translator.Translate(ref endLineNumber); 972translator.Translate(ref lineNumber);
src\msbuild\src\Shared\TaskHostBuildRequest.cs (4)
114translator.Translate(ref _requestId); 139translator.Translate(ref length); 166translator.Translate(ref length); 193translator.Translate(ref length);
src\msbuild\src\Shared\TaskHostBuildResponse.cs (2)
114translator.Translate(ref _requestId); 131translator.Translate(ref count);
src\msbuild\src\Shared\TaskHostConfiguration.cs (3)
467translator.Translate(ref _nodeId); 496translator.Translate(ref _lineNumberOfTask); 497translator.Translate(ref _columnNumberOfTask);
src\msbuild\src\Shared\TaskHostCoresRequest.cs (2)
47translator.Translate(ref _requestId); 48translator.Translate(ref _requestedCores);
src\msbuild\src\Shared\TaskHostCoresResponse.cs (2)
42translator.Translate(ref _requestId); 43translator.Translate(ref _grantedCores);
src\msbuild\src\Shared\TaskHostIsRunningMultipleNodesRequest.cs (1)
27translator.Translate(ref _requestId);
src\msbuild\src\Shared\TaskHostIsRunningMultipleNodesResponse.cs (1)
36translator.Translate(ref _requestId);
src\msbuild\src\Shared\TaskParameter.cs (5)
292translator.Translate(ref length); 424translator.Translate(ref length); 452translator.Translate(ref length); 507translator.Translate(ref length); 518translator.Translate(ref length);