2 implementations of Translate
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
184public void Translate(ref int value) 1035public void Translate(ref int value)
178 references to Translate
Microsoft.Build (97)
BackEnd\BuildManager\BuildParameters.cs (3)
949translator.Translate(ref _buildId); 962translator.Translate(ref _maxNodeCount); 963translator.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)
374(ITranslator aTranslator, ref int configId) => aTranslator.Translate(ref configId),
BackEnd\Components\Caching\ResultsCache.cs (1)
250(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)
40translator.Translate(ref count); 53translator.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)
424translator.Translate(ref _submissionId); 425translator.Translate(ref _configurationId); 426translator.Translate(ref _globalRequestId); 427translator.Translate(ref _parentGlobalRequestId); 428translator.Translate(ref _nodeRequestId); 437translator.Translate(ref _projectContextId); 438translator.Translate(ref _scheduledNodeId);
BackEnd\Shared\BuildRequestBlocker.cs (2)
230translator.Translate(ref _blockedGlobalRequestId); 232translator.Translate(ref _blockingGlobalRequestId);
BackEnd\Shared\BuildRequestConfiguration.cs (5)
952translator.Translate(ref _configId); 959translator.Translate(ref _resultsNodeId); 962translator.Translate(ref _projectEvaluationId); 973translator.Translate(ref _configId); 981translator.Translate(ref _projectEvaluationId);
BackEnd\Shared\BuildRequestUnblocker.cs (1)
111translator.Translate(ref _blockedGlobalRequestId);
BackEnd\Shared\BuildResult.cs (8)
640translator.Translate(ref _submissionId); 641translator.Translate(ref _configurationId); 642translator.Translate(ref _globalRequestId); 643translator.Translate(ref _parentGlobalRequestId); 644translator.Translate(ref _nodeRequestId); 688translator.Translate(ref _version); 700translator.Translate(ref _version); 718translator.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)
353translator.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)
2516translator.Translate(ref _evaluationId); 2584translator.Translate(ref typeCount); 2589translator.Translate(ref itemCount); 2601translator.Translate(ref typeCount); 2607translator.Translate(ref itemCount);
Instance\TaskRegistry.cs (2)
1879translator.Translate(ref _registrationOrderId); 1896translator.Translate(ref _nextRegistrationOrderId);
Logging\LoggerDescription.cs (1)
351translator.Translate(ref _loggerId);
Logging\TargetConsoleConfiguration.cs (1)
44translator.Translate(ref _bufferWidth);
LogMessagePacketBase.cs (19)
363translator.Translate(ref _sinkId); 397translator.Translate(ref packetVersion); 429translator.Translate(ref packetVersion); 787translator.Translate(ref columnNumber); 790translator.Translate(ref endColumnNumber); 793translator.Translate(ref endLineNumber); 799translator.Translate(ref lineNumber); 814translator.Translate(ref columnNumber); 817translator.Translate(ref endColumnNumber); 820translator.Translate(ref endLineNumber); 826translator.Translate(ref lineNumber); 910translator.Translate(ref columnNumber); 913translator.Translate(ref endColumnNumber); 916translator.Translate(ref endLineNumber); 922translator.Translate(ref lineNumber); 952translator.Translate(ref columnNumber); 955translator.Translate(ref endColumnNumber); 958translator.Translate(ref endLineNumber); 964translator.Translate(ref lineNumber);
TaskHostConfiguration.cs (3)
468translator.Translate(ref _nodeId); 497translator.Translate(ref _lineNumberOfTask); 498translator.Translate(ref _columnNumberOfTask);
TaskHostCoresRequest.cs (2)
47translator.Translate(ref _requestId); 48translator.Translate(ref _requestedCores);
TaskHostCoresResponse.cs (2)
42translator.Translate(ref _requestId); 43translator.Translate(ref _grantedCores);
TaskHostIsRunningMultipleNodesRequest.cs (1)
27translator.Translate(ref _requestId);
TaskHostIsRunningMultipleNodesResponse.cs (1)
36translator.Translate(ref _requestId);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BinaryTranslator_Tests.cs (6)
666translator.Translate(ref value3); 689translator.Translate(ref deserializedValue3); 1371TranslationHelpers.GetWriteTranslator().Translate(ref value); 1374TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 1523translator.Translate(ref _baseValue); 1608translator.Translate(ref _derivedValue);
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)
60translator.Translate(ref _lineNumberOfTaskNode); 61translator.Translate(ref _columnNumberOfTaskNode);
AssemblyDependency\Node\RarNodeExecuteResponse.cs (1)
41translator.Translate(ref _numCopyLocalFiles);
GetSDKReferenceFiles.cs (1)
1278translator.Translate(ref _hash);
LogMessagePacketBase.cs (19)
363translator.Translate(ref _sinkId); 397translator.Translate(ref packetVersion); 429translator.Translate(ref packetVersion); 787translator.Translate(ref columnNumber); 790translator.Translate(ref endColumnNumber); 793translator.Translate(ref endLineNumber); 799translator.Translate(ref lineNumber); 814translator.Translate(ref columnNumber); 817translator.Translate(ref endColumnNumber); 820translator.Translate(ref endLineNumber); 826translator.Translate(ref lineNumber); 910translator.Translate(ref columnNumber); 913translator.Translate(ref endColumnNumber); 916translator.Translate(ref endLineNumber); 922translator.Translate(ref lineNumber); 952translator.Translate(ref columnNumber); 955translator.Translate(ref endColumnNumber); 958translator.Translate(ref endLineNumber); 964translator.Translate(ref lineNumber);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);
MSBuild (33)
LogMessagePacketBase.cs (19)
363translator.Translate(ref _sinkId); 397translator.Translate(ref packetVersion); 429translator.Translate(ref packetVersion); 787translator.Translate(ref columnNumber); 790translator.Translate(ref endColumnNumber); 793translator.Translate(ref endLineNumber); 799translator.Translate(ref lineNumber); 814translator.Translate(ref columnNumber); 817translator.Translate(ref endColumnNumber); 820translator.Translate(ref endLineNumber); 826translator.Translate(ref lineNumber); 910translator.Translate(ref columnNumber); 913translator.Translate(ref endColumnNumber); 916translator.Translate(ref endLineNumber); 922translator.Translate(ref lineNumber); 952translator.Translate(ref columnNumber); 955translator.Translate(ref endColumnNumber); 958translator.Translate(ref endLineNumber); 964translator.Translate(ref lineNumber);
TaskHostConfiguration.cs (3)
468translator.Translate(ref _nodeId); 497translator.Translate(ref _lineNumberOfTask); 498translator.Translate(ref _columnNumberOfTask);
TaskHostCoresRequest.cs (2)
47translator.Translate(ref _requestId); 48translator.Translate(ref _requestedCores);
TaskHostCoresResponse.cs (2)
42translator.Translate(ref _requestId); 43translator.Translate(ref _grantedCores);
TaskHostIsRunningMultipleNodesRequest.cs (1)
27translator.Translate(ref _requestId);
TaskHostIsRunningMultipleNodesResponse.cs (1)
36translator.Translate(ref _requestId);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);