102 references to GetReadTranslator
Microsoft.Build.Engine.UnitTests (102)
BackEnd\BinaryTranslator_Tests.cs (40)
179TranslationHelpers.GetReadTranslator().TranslateEnum(ref deserializedValue, (int)deserializedValue); 191TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 213TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 242TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 281TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 302TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 317TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 333TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 348TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue, BaseClass.FactoryForDeserialization); 363TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue, BaseClass.FactoryForDeserialization); 378TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue); 393TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue); 408TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue, BaseClass.FactoryForDeserialization); 423TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue, BaseClass.FactoryForDeserialization); 441TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase); 460TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase); 479TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 499TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 518TranslationHelpers.GetReadTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref deserializedValue, BaseClass.FactoryForDeserialization); 538TranslationHelpers.GetReadTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref deserializedValue, BaseClass.FactoryForDeserialization); 555TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 567TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 582TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 594TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 611TranslationHelpers.GetReadTranslator().TranslateHashSet(ref deserializedValues, BaseClass.FactoryForDeserialization, capacity => new()); 623TranslationHelpers.GetReadTranslator().TranslateHashSet(ref deserializedValue, BaseClass.FactoryForDeserialization, capacity => new()); 635TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 662TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 675TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 708TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 722TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 736TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 750TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 764TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 778TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 792TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 806TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 820TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 834TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 848TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue);
BackEnd\BuildRequest_Tests.cs (3)
123INodePacket packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 169INodePacket packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 196BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfiguration_Tests.cs (2)
253INodePacket packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 294INodePacket packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfigurationResponse_Tests.cs (1)
84INodePacket deserializedPacket = BuildRequestConfigurationResponse.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildResult_Tests.cs (1)
328INodePacket packet = BuildResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\ConfigCache_Tests.cs (1)
101TranslationHelpers.GetReadTranslator().Translate(ref copy);
BackEnd\ConfigurationMetadata_Tests.cs (1)
133var copy = ConfigurationMetadata.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\NodePackets_Tests.cs (1)
327INodePacket tempPacket = LogMessagePacket.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()) as LogMessagePacket;
BackEnd\ResultsCache_Tests.cs (2)
395var copy = new ResultsCache(TranslationHelpers.GetReadTranslator()); 426var copy = new ResultsCache(TranslationHelpers.GetReadTranslator());
BackEnd\TargetResult_Tests.cs (2)
101TargetResult deserializedResult = TargetResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 121TargetResult deserializedResult = TargetResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostConfiguration_Tests.cs (7)
367INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 464INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 515INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 564INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 612INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 667INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 717INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskCancelled_Tests.cs (1)
35INodePacket packet = TaskHostTaskCancelled.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskComplete_Tests.cs (5)
120INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 143INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 169INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 196INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 222INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskRegistry_Tests.cs (1)
1985var copy = TaskRegistry.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Collections\OMcollections_tests.cs (2)
82TranslationHelpers.GetReadTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref deserializedProperties, ProjectPropertyInstance.FactoryForDeserialization); 97TranslationHelpers.GetReadTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref deserializedProperties, ProjectPropertyInstance.FactoryForDeserialization);
Construction\ElementLocation_Tests.cs (3)
167TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization); 185TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization); 287TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization);
Definition\Toolset_Tests.cs (1)
115Toolset t2 = Toolset.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectInstance_Internal_Tests.cs (2)
697var copy = ProjectInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 752var copy = ProjectInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (1)
46var clone = ProjectItemGroupTaskItemInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectMetadataInstance_Internal_Tests.cs (1)
45TranslationHelpers.GetReadTranslator().Translate(ref deserializedMetadata, ProjectMetadataInstance.FactoryForDeserialization);
Instance\ProjectPropertyGroupTaskPropertyInstance_Internal_Tests.cs (1)
24var copy = ProjectPropertyGroupTaskPropertyInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectPropertyInstance_Internal_Tests.cs (3)
45TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization); 62TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization); 81TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization);
Instance\ProjectTargetInstance_Internal_Tests.cs (1)
80var copy = ProjectTargetInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectTaskInstance_Internal_Tests.cs (1)
81var copy = ProjectTaskInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\TaskItem_Tests.cs (1)
59TranslationHelpers.GetReadTranslator().Translate(ref deserializedItem, TaskItem.FactoryForDeserialization);
TaskParameter_Tests.cs (17)
37TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 71TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 113TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 130TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 151TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 179TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 201TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 231TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 259TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 286TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 311TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 322TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 348TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 380TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 413TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 426TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 462TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());