2 implementations of Translate
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
178public void Translate(ref int value) 933public void Translate(ref int value)
140 references to Translate
Microsoft.Build (95)
BackEnd\BuildManager\BuildParameters.cs (3)
888translator.Translate(ref _buildId); 900translator.Translate(ref _maxNodeCount); 901translator.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 (2)
364(ITranslator aTranslator, ref int configId) => aTranslator.Translate(ref configId), 382(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\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)
161translator.Translate(ref _nodeId);
BackEnd\Node\ServerNodeBuildResult.cs (1)
34translator.Translate(ref _exitCode);
BackEnd\Shared\BuildRequest.cs (6)
422translator.Translate(ref _submissionId); 423translator.Translate(ref _configurationId); 424translator.Translate(ref _globalRequestId); 425translator.Translate(ref _parentGlobalRequestId); 426translator.Translate(ref _nodeRequestId); 435translator.Translate(ref _projectContextId);
BackEnd\Shared\BuildRequestBlocker.cs (2)
230translator.Translate(ref _blockedGlobalRequestId); 232translator.Translate(ref _blockingGlobalRequestId);
BackEnd\Shared\BuildRequestConfiguration.cs (3)
923translator.Translate(ref _configId); 930translator.Translate(ref _resultsNodeId); 943translator.Translate(ref _configId);
BackEnd\Shared\BuildRequestUnblocker.cs (1)
111translator.Translate(ref _blockedGlobalRequestId);
BackEnd\Shared\BuildResult.cs (7)
611translator.Translate(ref _submissionId); 612translator.Translate(ref _configurationId); 613translator.Translate(ref _globalRequestId); 614translator.Translate(ref _parentGlobalRequestId); 615translator.Translate(ref _nodeRequestId); 658translator.Translate(ref _version); 668translator.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)
303translator.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)
2422translator.Translate(ref _evaluationId); 2490translator.Translate(ref typeCount); 2495translator.Translate(ref itemCount); 2507translator.Translate(ref typeCount); 2513translator.Translate(ref itemCount);
Instance\TaskRegistry.cs (2)
1817translator.Translate(ref _registrationOrderId); 1840translator.Translate(ref _nextRegistrationOrderId);
Logging\LoggerDescription.cs (1)
351translator.Translate(ref _loggerId);
Logging\TargetConsoleConfiguration.cs (1)
45translator.Translate(ref _bufferWidth);
LogMessagePacketBase.cs (29)
406translator.Translate(ref _sinkId); 440translator.Translate(ref packetVersion); 498translator.Translate(ref packetVersion); 917translator.Translate(ref columnNumber); 920translator.Translate(ref endColumnNumber); 923translator.Translate(ref endLineNumber); 929translator.Translate(ref lineNumber); 944translator.Translate(ref columnNumber); 947translator.Translate(ref endColumnNumber); 950translator.Translate(ref endLineNumber); 956translator.Translate(ref lineNumber); 1033translator.Translate(ref count); 1062translator.Translate(ref kind); 1063translator.Translate(ref evaluationPass); 1068translator.Translate(ref line); 1084translator.Translate(ref numberOfHits); 1251translator.Translate(ref columnNumber); 1254translator.Translate(ref endColumnNumber); 1257translator.Translate(ref endLineNumber); 1263translator.Translate(ref lineNumber); 1293translator.Translate(ref columnNumber); 1296translator.Translate(ref endColumnNumber); 1299translator.Translate(ref endLineNumber); 1305translator.Translate(ref lineNumber); 1495translator.Translate(ref count); 1529translator.Translate(ref kind); 1530translator.Translate(ref evaluationPass); 1535translator.Translate(ref line); 1565translator.Translate(ref numberOfHits);
TaskHostConfiguration.cs (3)
414translator.Translate(ref _nodeId); 436translator.Translate(ref _lineNumberOfTask); 437translator.Translate(ref _columnNumberOfTask);
TaskParameter.cs (6)
352translator.Translate(ref length); 362translator.Translate(ref length); 611translator.Translate(ref length); 639translator.Translate(ref length); 694translator.Translate(ref length); 705translator.Translate(ref length);
TranslatorHelpers.cs (6)
129translator.Translate(ref count); 166translator.Translate(ref lcid); 194translator.Translate(ref major); 195translator.Translate(ref minor); 196translator.Translate(ref build); 197translator.Translate(ref revision);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BinaryTranslator_Tests.cs (4)
789TranslationHelpers.GetWriteTranslator().Translate(ref value); 792TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 941translator.Translate(ref _baseValue); 1026translator.Translate(ref _derivedValue);
Microsoft.Build.Tasks.Core (7)
GetSDKReferenceFiles.cs (1)
1278translator.Translate(ref _hash);
TranslatorHelpers.cs (6)
129translator.Translate(ref count); 166translator.Translate(ref lcid); 194translator.Translate(ref major); 195translator.Translate(ref minor); 196translator.Translate(ref build); 197translator.Translate(ref revision);
MSBuild (34)
LogMessagePacketBase.cs (19)
406translator.Translate(ref _sinkId); 440translator.Translate(ref packetVersion); 498translator.Translate(ref packetVersion); 917translator.Translate(ref columnNumber); 920translator.Translate(ref endColumnNumber); 923translator.Translate(ref endLineNumber); 929translator.Translate(ref lineNumber); 944translator.Translate(ref columnNumber); 947translator.Translate(ref endColumnNumber); 950translator.Translate(ref endLineNumber); 956translator.Translate(ref lineNumber); 1251translator.Translate(ref columnNumber); 1254translator.Translate(ref endColumnNumber); 1257translator.Translate(ref endLineNumber); 1263translator.Translate(ref lineNumber); 1293translator.Translate(ref columnNumber); 1296translator.Translate(ref endColumnNumber); 1299translator.Translate(ref endLineNumber); 1305translator.Translate(ref lineNumber);
TaskHostConfiguration.cs (3)
414translator.Translate(ref _nodeId); 436translator.Translate(ref _lineNumberOfTask); 437translator.Translate(ref _columnNumberOfTask);
TaskParameter.cs (6)
352translator.Translate(ref length); 362translator.Translate(ref length); 611translator.Translate(ref length); 639translator.Translate(ref length); 694translator.Translate(ref length); 705translator.Translate(ref length);
TranslatorHelpers.cs (6)
129translator.Translate(ref count); 166translator.Translate(ref lcid); 194translator.Translate(ref major); 195translator.Translate(ref minor); 196translator.Translate(ref build); 197translator.Translate(ref revision);