2 implementations of Translate
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
187public void Translate(ref int value) 1077public void Translate(ref int value)
160 references to Translate
Microsoft.Build (96)
BackEnd\BuildManager\BuildParameters.cs (3)
944translator.Translate(ref _buildId); 957translator.Translate(ref _maxNodeCount); 958translator.Translate(ref _memoryUseLimit);
BackEnd\Components\BuildRequestEngine\BuildRequestConfigurationResponse.cs (3)
79translator.Translate(ref _nodeConfigId); 80translator.Translate(ref _globalConfigId); 81translator.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 (3)
933translator.Translate(ref _configId); 940translator.Translate(ref _resultsNodeId); 953translator.Translate(ref _configId);
BackEnd\Shared\BuildRequestUnblocker.cs (1)
111translator.Translate(ref _blockedGlobalRequestId);
BackEnd\Shared\BuildResult.cs (7)
623translator.Translate(ref _submissionId); 624translator.Translate(ref _configurationId); 625translator.Translate(ref _globalRequestId); 626translator.Translate(ref _parentGlobalRequestId); 627translator.Translate(ref _nodeRequestId); 671translator.Translate(ref _version); 682translator.Translate(ref _version);
BackEnd\Shared\ResourceRequest.cs (2)
97translator.Translate(ref _globalRequestId); 100translator.Translate(ref _numCores);
BackEnd\Shared\ResourceResponse.cs (2)
62translator.Translate(ref _globalRequestId); 63translator.Translate(ref _numCores);
BackEnd\Shared\TargetResult.cs (1)
332translator.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)
2505translator.Translate(ref _evaluationId); 2573translator.Translate(ref typeCount); 2578translator.Translate(ref itemCount); 2590translator.Translate(ref typeCount); 2596translator.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)
45translator.Translate(ref _bufferWidth);
LogMessagePacketBase.cs (19)
371translator.Translate(ref _sinkId); 405translator.Translate(ref packetVersion); 437translator.Translate(ref packetVersion); 825translator.Translate(ref columnNumber); 828translator.Translate(ref endColumnNumber); 831translator.Translate(ref endLineNumber); 837translator.Translate(ref lineNumber); 852translator.Translate(ref columnNumber); 855translator.Translate(ref endColumnNumber); 858translator.Translate(ref endLineNumber); 864translator.Translate(ref lineNumber); 950translator.Translate(ref columnNumber); 953translator.Translate(ref endColumnNumber); 956translator.Translate(ref endLineNumber); 962translator.Translate(ref lineNumber); 992translator.Translate(ref columnNumber); 995translator.Translate(ref endColumnNumber); 998translator.Translate(ref endLineNumber); 1004translator.Translate(ref lineNumber);
TaskHostConfiguration.cs (3)
413translator.Translate(ref _nodeId); 442translator.Translate(ref _lineNumberOfTask); 443translator.Translate(ref _columnNumberOfTask);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);
TranslatorHelpers.cs (8)
212translator.Translate(ref count); 226translator.Translate(ref count); 278translator.Translate(ref count); 315translator.Translate(ref lcid); 343translator.Translate(ref major); 344translator.Translate(ref minor); 345translator.Translate(ref build); 346translator.Translate(ref revision);
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 (6)
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 (17)
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);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);
TranslatorHelpers.cs (8)
212translator.Translate(ref count); 226translator.Translate(ref count); 278translator.Translate(ref count); 315translator.Translate(ref lcid); 343translator.Translate(ref major); 344translator.Translate(ref minor); 345translator.Translate(ref build); 346translator.Translate(ref revision);
MSBuild (35)
LogMessagePacketBase.cs (19)
371translator.Translate(ref _sinkId); 405translator.Translate(ref packetVersion); 437translator.Translate(ref packetVersion); 825translator.Translate(ref columnNumber); 828translator.Translate(ref endColumnNumber); 831translator.Translate(ref endLineNumber); 837translator.Translate(ref lineNumber); 852translator.Translate(ref columnNumber); 855translator.Translate(ref endColumnNumber); 858translator.Translate(ref endLineNumber); 864translator.Translate(ref lineNumber); 950translator.Translate(ref columnNumber); 953translator.Translate(ref endColumnNumber); 956translator.Translate(ref endLineNumber); 962translator.Translate(ref lineNumber); 992translator.Translate(ref columnNumber); 995translator.Translate(ref endColumnNumber); 998translator.Translate(ref endLineNumber); 1004translator.Translate(ref lineNumber);
TaskHostConfiguration.cs (3)
413translator.Translate(ref _nodeId); 442translator.Translate(ref _lineNumberOfTask); 443translator.Translate(ref _columnNumberOfTask);
TaskParameter.cs (5)
295translator.Translate(ref length); 427translator.Translate(ref length); 455translator.Translate(ref length); 510translator.Translate(ref length); 521translator.Translate(ref length);
TranslatorHelpers.cs (8)
212translator.Translate(ref count); 226translator.Translate(ref count); 278translator.Translate(ref count); 315translator.Translate(ref lcid); 343translator.Translate(ref major); 344translator.Translate(ref minor); 345translator.Translate(ref build); 346translator.Translate(ref revision);