102 references to GetWriteTranslator
Microsoft.Build.Engine.UnitTests (102)
BackEnd\BinaryTranslator_Tests.cs (40)
176TranslationHelpers.GetWriteTranslator().TranslateEnum(ref value, (int)value); 188TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 210TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 239TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 278TranslationHelpers.GetWriteTranslator().TranslateException(ref remote); 299TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 314TranslationHelpers.GetWriteTranslator().Translate(ref value); 330TranslationHelpers.GetWriteTranslator().Translate(ref value); 345TranslationHelpers.GetWriteTranslator().Translate(ref value, BaseClass.FactoryForDeserialization); 360TranslationHelpers.GetWriteTranslator().Translate(ref value, BaseClass.FactoryForDeserialization); 375TranslationHelpers.GetWriteTranslator().TranslateArray(ref value); 390TranslationHelpers.GetWriteTranslator().TranslateArray(ref value); 405TranslationHelpers.GetWriteTranslator().TranslateArray(ref value, BaseClass.FactoryForDeserialization); 420TranslationHelpers.GetWriteTranslator().TranslateArray(ref value, BaseClass.FactoryForDeserialization); 438TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase); 457TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase); 476TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 496TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 515TranslationHelpers.GetWriteTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref value, BaseClass.FactoryForDeserialization); 535TranslationHelpers.GetWriteTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref value, BaseClass.FactoryForDeserialization); 552TranslationHelpers.GetWriteTranslator().Translate(ref value); 564TranslationHelpers.GetWriteTranslator().Translate(ref value); 579TranslationHelpers.GetWriteTranslator().Translate(ref value); 591TranslationHelpers.GetWriteTranslator().Translate(ref value); 608TranslationHelpers.GetWriteTranslator().TranslateHashSet(ref values, BaseClass.FactoryForDeserialization, capacity => new()); 620TranslationHelpers.GetWriteTranslator().TranslateHashSet(ref value, BaseClass.FactoryForDeserialization, capacity => new()); 632TranslationHelpers.GetWriteTranslator().Translate(ref value); 659TranslationHelpers.GetWriteTranslator().Translate(ref value); 672TranslationHelpers.GetWriteTranslator().Translate(ref value); 705TranslationHelpers.GetWriteTranslator().Translate(ref value); 719TranslationHelpers.GetWriteTranslator().Translate(ref value); 733TranslationHelpers.GetWriteTranslator().Translate(ref value); 747TranslationHelpers.GetWriteTranslator().Translate(ref value); 761TranslationHelpers.GetWriteTranslator().Translate(ref value); 775TranslationHelpers.GetWriteTranslator().Translate(ref value); 789TranslationHelpers.GetWriteTranslator().Translate(ref value); 803TranslationHelpers.GetWriteTranslator().Translate(ref value); 817TranslationHelpers.GetWriteTranslator().Translate(ref value); 831TranslationHelpers.GetWriteTranslator().Translate(ref value); 845TranslationHelpers.GetWriteTranslator().Translate(ref value);
BackEnd\BuildRequest_Tests.cs (3)
122((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator()); 168((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator()); 195((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\BuildRequestConfiguration_Tests.cs (2)
252((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 293((ITranslatable)configuration).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\BuildRequestConfigurationResponse_Tests.cs (1)
82((ITranslatable)response).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\BuildResult_Tests.cs (1)
327((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\ConfigCache_Tests.cs (1)
97TranslationHelpers.GetWriteTranslator().Translate(ref initial);
BackEnd\ConfigurationMetadata_Tests.cs (1)
132initial.Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\NodePackets_Tests.cs (1)
326((ITranslatable)packet).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\ResultsCache_Tests.cs (2)
393resultsCache.Translate(TranslationHelpers.GetWriteTranslator()); 421resultsCache.Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\TargetResult_Tests.cs (2)
100((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator()); 120((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\TaskHostConfiguration_Tests.cs (7)
366((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 463((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 514((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 563((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 611((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 666((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 716((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\TaskHostTaskCancelled_Tests.cs (1)
34((ITranslatable)cancelled).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\TaskHostTaskComplete_Tests.cs (5)
119((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 142((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 168((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 195((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 221((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator());
BackEnd\TaskRegistry_Tests.cs (1)
1983original.Translate(TranslationHelpers.GetWriteTranslator());
Collections\OMcollections_tests.cs (2)
80TranslationHelpers.GetWriteTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref properties, ProjectPropertyInstance.FactoryForDeserialization); 95TranslationHelpers.GetWriteTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref properties, ProjectPropertyInstance.FactoryForDeserialization);
Construction\ElementLocation_Tests.cs (3)
165TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization); 183TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization); 285TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization);
Definition\Toolset_Tests.cs (1)
114((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator());
Instance\ProjectInstance_Internal_Tests.cs (2)
696((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 751((ITranslatable)pi).Translate(TranslationHelpers.GetWriteTranslator());
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (1)
45((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator());
Instance\ProjectMetadataInstance_Internal_Tests.cs (1)
43TranslationHelpers.GetWriteTranslator().Translate(ref metadata, ProjectMetadataInstance.FactoryForDeserialization);
Instance\ProjectPropertyGroupTaskPropertyInstance_Internal_Tests.cs (1)
23((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator());
Instance\ProjectPropertyInstance_Internal_Tests.cs (3)
43TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization); 60TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization); 79TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization);
Instance\ProjectTargetInstance_Internal_Tests.cs (1)
79((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator());
Instance\ProjectTaskInstance_Internal_Tests.cs (1)
80((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator());
Instance\TaskItem_Tests.cs (1)
57TranslationHelpers.GetWriteTranslator().Translate(ref item, TaskItem.FactoryForDeserialization);
TaskParameter_Tests.cs (17)
36((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 70((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 112((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 129((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 150((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 178((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 200((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 230((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 258((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 285((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 310((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 321((ITranslatable)t3).Translate(TranslationHelpers.GetWriteTranslator()); 347((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 379((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 412((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 425((ITranslatable)t3).Translate(TranslationHelpers.GetWriteTranslator()); 461((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator());