2 implementations of TranslateEnum
Microsoft.Build.Framework (2)
BinaryTranslator.cs (2)
488
public void
TranslateEnum
<T>(ref T value, int numericValue)
1187
public void
TranslateEnum
<T>(ref T value, int numericValue)
48 references to TranslateEnum
Microsoft.Build (28)
BackEnd\BuildManager\BuildParameters.cs (2)
912
translator.
TranslateEnum
(ref _projectLoadSettings, (int)_projectLoadSettings);
916
translator.
TranslateEnum
(ref _projectIsolationMode, (int)_projectIsolationMode);
BackEnd\Node\ServerNodeConsoleWrite.cs (1)
37
translator.
TranslateEnum
(ref _outputType, (int)_outputType);
BackEnd\Shared\BuildRequest.cs (1)
430
translator.
TranslateEnum
(ref _buildRequestDataFlags, (int)_buildRequestDataFlags);
BackEnd\Shared\BuildRequestBlocker.cs (1)
234
translator.
TranslateEnum
(ref _yieldAction, (int)_yieldAction);
BackEnd\Shared\BuildResult.cs (1)
680
translator.
TranslateEnum
(ref _buildRequestDataFlags, (int)_buildRequestDataFlags);
BackEnd\Shared\WorkUnitResult.cs (2)
126
translator.
TranslateEnum
(ref _resultCode, (int)_resultCode);
127
translator.
TranslateEnum
(ref _actionCode, (int)_actionCode);
FileAccess\FileAccessData.cs (4)
135
translator.
TranslateEnum
(ref _operation, (int)_operation);
136
translator.
TranslateEnum
(ref _requestedAccess, (int)_requestedAccess);
141
translator.
TranslateEnum
(ref _desiredAccess, (int)_desiredAccess);
142
translator.
TranslateEnum
(ref _flagsAndAttributes, (int)_flagsAndAttributes);
Logging\LoggerDescription.cs (1)
350
translator.
TranslateEnum
(ref _verbosity, (int)_verbosity);
Logging\TargetConsoleConfiguration.cs (1)
48
translator.
TranslateEnum
(ref _backgroundColor, (int)_backgroundColor);
LogMessagePacketBase.cs (5)
405
translator.
TranslateEnum
(ref _eventType, (int)_eventType);
968
translator.
TranslateEnum
(ref importance, (int)importance);
983
translator.
TranslateEnum
(ref importance, (int)importance);
1332
translator.
TranslateEnum
(ref importance, (int)importance);
1351
translator.
TranslateEnum
(ref importance, (int)importance);
NodeShutdown.cs (1)
107
translator.
TranslateEnum
(ref _reason, (int)_reason);
TaskHostTaskComplete.cs (1)
240
translator.
TranslateEnum
(ref _taskResult, (int)_taskResult);
TaskParameter.cs (3)
227
translator.
TranslateEnum
(ref _parameterType, (int)_parameterType);
507
translator.
TranslateEnum
(ref _parameterTypeCode, (int)_parameterTypeCode);
582
translator.
TranslateEnum
(ref _parameterTypeCode, (int)_parameterTypeCode);
TranslatorHelpers.cs (4)
252
translator.
TranslateEnum
(ref flags, (int)flags);
253
translator.
TranslateEnum
(ref processorArchitecture, (int)processorArchitecture);
255
translator.
TranslateEnum
(ref hashAlgorithm, (int)hashAlgorithm);
256
translator.
TranslateEnum
(ref versionCompatibility, (int)versionCompatibility);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BinaryTranslator_Tests.cs (2)
176
TranslationHelpers.GetWriteTranslator().
TranslateEnum
(ref value, (int)value);
179
TranslationHelpers.GetReadTranslator().
TranslateEnum
(ref deserializedValue, (int)deserializedValue);
Microsoft.Build.Tasks.Core (4)
TranslatorHelpers.cs (4)
252
translator.
TranslateEnum
(ref flags, (int)flags);
253
translator.
TranslateEnum
(ref processorArchitecture, (int)processorArchitecture);
255
translator.
TranslateEnum
(ref hashAlgorithm, (int)hashAlgorithm);
256
translator.
TranslateEnum
(ref versionCompatibility, (int)versionCompatibility);
MSBuild (14)
LogMessagePacketBase.cs (5)
405
translator.
TranslateEnum
(ref _eventType, (int)_eventType);
968
translator.
TranslateEnum
(ref importance, (int)importance);
983
translator.
TranslateEnum
(ref importance, (int)importance);
1332
translator.
TranslateEnum
(ref importance, (int)importance);
1351
translator.
TranslateEnum
(ref importance, (int)importance);
NodeShutdown.cs (1)
107
translator.
TranslateEnum
(ref _reason, (int)_reason);
TaskHostTaskComplete.cs (1)
240
translator.
TranslateEnum
(ref _taskResult, (int)_taskResult);
TaskParameter.cs (3)
227
translator.
TranslateEnum
(ref _parameterType, (int)_parameterType);
507
translator.
TranslateEnum
(ref _parameterTypeCode, (int)_parameterTypeCode);
582
translator.
TranslateEnum
(ref _parameterTypeCode, (int)_parameterTypeCode);
TranslatorHelpers.cs (4)
252
translator.
TranslateEnum
(ref flags, (int)flags);
253
translator.
TranslateEnum
(ref processorArchitecture, (int)processorArchitecture);
255
translator.
TranslateEnum
(ref hashAlgorithm, (int)hashAlgorithm);
256
translator.
TranslateEnum
(ref versionCompatibility, (int)versionCompatibility);