245 references to TranslationHelpers
Microsoft.Build.Engine.UnitTests (245)
BackEnd\BinaryTranslator_Tests.cs (91)
176TranslationHelpers.GetWriteTranslator().TranslateEnum(ref value, (int)value); 179TranslationHelpers.GetReadTranslator().TranslateEnum(ref deserializedValue, (int)deserializedValue); 188TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 191TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 193Assert.True(TranslationHelpers.CompareExceptions(value, deserializedValue, out string diffReason), diffReason); 210TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 213TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 215Assert.True(TranslationHelpers.CompareExceptions(value, deserializedValue, out string diffReason), diffReason); 239TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 242TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 244Assert.True(TranslationHelpers.CompareExceptions(value, deserializedValue, out string diffReason), diffReason); 278TranslationHelpers.GetWriteTranslator().TranslateException(ref remote); 281TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 283Assert.True(TranslationHelpers.CompareExceptions(remote, deserializedValue, out string diffReason, true), $"Exception type {exceptionType.FullName} not properly de/serialized: {diffReason}"); 299TranslationHelpers.GetWriteTranslator().TranslateException(ref value); 302TranslationHelpers.GetReadTranslator().TranslateException(ref deserializedValue); 304Assert.True(TranslationHelpers.CompareExceptions(value, deserializedValue, out string diffReason, true), diffReason); 314TranslationHelpers.GetWriteTranslator().Translate(ref value); 317TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 330TranslationHelpers.GetWriteTranslator().Translate(ref value); 333TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 345TranslationHelpers.GetWriteTranslator().Translate(ref value, BaseClass.FactoryForDeserialization); 348TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue, BaseClass.FactoryForDeserialization); 360TranslationHelpers.GetWriteTranslator().Translate(ref value, BaseClass.FactoryForDeserialization); 363TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue, BaseClass.FactoryForDeserialization); 375TranslationHelpers.GetWriteTranslator().TranslateArray(ref value); 378TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue); 380Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, DerivedClass.Comparer)); 390TranslationHelpers.GetWriteTranslator().TranslateArray(ref value); 393TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue); 395Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, DerivedClass.Comparer)); 405TranslationHelpers.GetWriteTranslator().TranslateArray(ref value, BaseClass.FactoryForDeserialization); 408TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue, BaseClass.FactoryForDeserialization); 410Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, BaseClass.Comparer)); 420TranslationHelpers.GetWriteTranslator().TranslateArray(ref value, BaseClass.FactoryForDeserialization); 423TranslationHelpers.GetReadTranslator().TranslateArray(ref deserializedValue, BaseClass.FactoryForDeserialization); 425Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, BaseClass.Comparer)); 438TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase); 441TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase); 457TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase); 460TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase); 476TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 479TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 496TranslationHelpers.GetWriteTranslator().TranslateDictionary(ref value, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 499TranslationHelpers.GetReadTranslator().TranslateDictionary(ref deserializedValue, StringComparer.OrdinalIgnoreCase, BaseClass.FactoryForDeserialization); 515TranslationHelpers.GetWriteTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref value, BaseClass.FactoryForDeserialization); 518TranslationHelpers.GetReadTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref deserializedValue, BaseClass.FactoryForDeserialization); 535TranslationHelpers.GetWriteTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref value, BaseClass.FactoryForDeserialization); 538TranslationHelpers.GetReadTranslator().TranslateDictionary<Dictionary<string, BaseClass>, BaseClass>(ref deserializedValue, BaseClass.FactoryForDeserialization); 552TranslationHelpers.GetWriteTranslator().Translate(ref value); 555TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 564TranslationHelpers.GetWriteTranslator().Translate(ref value); 567TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 579TranslationHelpers.GetWriteTranslator().Translate(ref value); 582TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 591TranslationHelpers.GetWriteTranslator().Translate(ref value); 594TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 608TranslationHelpers.GetWriteTranslator().TranslateHashSet(ref values, BaseClass.FactoryForDeserialization, capacity => new()); 611TranslationHelpers.GetReadTranslator().TranslateHashSet(ref deserializedValues, BaseClass.FactoryForDeserialization, capacity => new()); 620TranslationHelpers.GetWriteTranslator().TranslateHashSet(ref value, BaseClass.FactoryForDeserialization, capacity => new()); 623TranslationHelpers.GetReadTranslator().TranslateHashSet(ref deserializedValue, BaseClass.FactoryForDeserialization, capacity => new()); 632TranslationHelpers.GetWriteTranslator().Translate(ref value); 635TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 659TranslationHelpers.GetWriteTranslator().Translate(ref value); 662TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 672TranslationHelpers.GetWriteTranslator().Translate(ref value); 675TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 705TranslationHelpers.GetWriteTranslator().Translate(ref value); 708TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 719TranslationHelpers.GetWriteTranslator().Translate(ref value); 722TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 733TranslationHelpers.GetWriteTranslator().Translate(ref value); 736TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 747TranslationHelpers.GetWriteTranslator().Translate(ref value); 750TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 761TranslationHelpers.GetWriteTranslator().Translate(ref value); 764TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 775TranslationHelpers.GetWriteTranslator().Translate(ref value); 778TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 789TranslationHelpers.GetWriteTranslator().Translate(ref value); 792TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 803TranslationHelpers.GetWriteTranslator().Translate(ref value); 806TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 817TranslationHelpers.GetWriteTranslator().Translate(ref value); 820TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 831TranslationHelpers.GetWriteTranslator().Translate(ref value); 834TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 836Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, comparer)); 845TranslationHelpers.GetWriteTranslator().Translate(ref value); 848TranslationHelpers.GetReadTranslator().Translate(ref deserializedValue); 850Assert.True(TranslationHelpers.CompareCollections(value, deserializedValue, comparer));
BackEnd\BuildRequest_Tests.cs (6)
122((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator()); 123INodePacket packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 168((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator()); 169INodePacket packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 195((ITranslatable)request).Translate(TranslationHelpers.GetWriteTranslator()); 196BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfiguration_Tests.cs (4)
252((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 253INodePacket packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 293((ITranslatable)configuration).Translate(TranslationHelpers.GetWriteTranslator()); 294INodePacket packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfigurationResponse_Tests.cs (2)
82((ITranslatable)response).Translate(TranslationHelpers.GetWriteTranslator()); 84INodePacket deserializedPacket = BuildRequestConfigurationResponse.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildResult_Tests.cs (9)
327((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator()); 328INodePacket packet = BuildResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 333Assert.True(TranslationHelpers.CompareCollections(result.DefaultTargets, deserializedResult.DefaultTargets, StringComparer.Ordinal)); 334Assert.True(TranslationHelpers.CompareExceptions(result.Exception, deserializedResult.Exception, out string diffReason), diffReason); 337Assert.True(TranslationHelpers.CompareCollections(result.InitialTargets, deserializedResult.InitialTargets, StringComparer.Ordinal)); 340Assert.True(TranslationHelpers.CompareExceptions(result["alpha"].Exception, deserializedResult["alpha"].Exception, out diffReason), diffReason); 341Assert.True(TranslationHelpers.CompareCollections(result["alpha"].Items, deserializedResult["alpha"].Items, TaskItemComparer.Instance)); 343Assert.True(TranslationHelpers.CompareExceptions(result["omega"].Exception, deserializedResult["omega"].Exception, out diffReason), diffReason); 344Assert.True(TranslationHelpers.CompareCollections(result["omega"].Items, deserializedResult["omega"].Items, TaskItemComparer.Instance));
BackEnd\ConfigCache_Tests.cs (2)
97TranslationHelpers.GetWriteTranslator().Translate(ref initial); 101TranslationHelpers.GetReadTranslator().Translate(ref copy);
BackEnd\ConfigurationMetadata_Tests.cs (2)
132initial.Translate(TranslationHelpers.GetWriteTranslator()); 133var copy = ConfigurationMetadata.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\NodePackets_Tests.cs (2)
326((ITranslatable)packet).Translate(TranslationHelpers.GetWriteTranslator()); 327INodePacket tempPacket = LogMessagePacket.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()) as LogMessagePacket;
BackEnd\ResultsCache_Tests.cs (4)
393resultsCache.Translate(TranslationHelpers.GetWriteTranslator()); 395var copy = new ResultsCache(TranslationHelpers.GetReadTranslator()); 421resultsCache.Translate(TranslationHelpers.GetWriteTranslator()); 426var copy = new ResultsCache(TranslationHelpers.GetReadTranslator());
BackEnd\TargetResult_Tests.cs (8)
100((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator()); 101TargetResult deserializedResult = TargetResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 104Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance)); 105Assert.True(TranslationHelpers.CompareExceptions(result.Exception, deserializedResult.Exception, out string diffReason), diffReason); 120((ITranslatable)result).Translate(TranslationHelpers.GetWriteTranslator()); 121TargetResult deserializedResult = TargetResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 124Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance)); 125Assert.True(TranslationHelpers.CompareExceptions(result.Exception, deserializedResult.Exception, out string diffReason), diffReason);
BackEnd\TaskHostConfiguration_Tests.cs (14)
366((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 367INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 463((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 464INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 514((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 515INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 563((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 564INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 611((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 612INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 666((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 667INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 716((ITranslatable)config).Translate(TranslationHelpers.GetWriteTranslator()); 717INodePacket packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskCancelled_Tests.cs (2)
34((ITranslatable)cancelled).Translate(TranslationHelpers.GetWriteTranslator()); 35INodePacket packet = TaskHostTaskCancelled.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskComplete_Tests.cs (10)
119((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 120INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 142((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 143INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 168((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 169INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 195((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 196INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 221((ITranslatable)complete).Translate(TranslationHelpers.GetWriteTranslator()); 222INodePacket packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskRegistry_Tests.cs (2)
1983original.Translate(TranslationHelpers.GetWriteTranslator()); 1985var copy = TaskRegistry.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BuildEventArgsSerialization_Tests.cs (17)
77e => serializeAllEnvironmentVariables ? TranslationHelpers.ToString(e.BuildEnvironment) : null, 144e => TranslationHelpers.GetPropertiesString(e.GlobalProperties), 145e => TranslationHelpers.GetPropertiesString(e.EntryProjectsFullPath), 146e => TranslationHelpers.GetPropertiesString(e.TargetNames), 169e => TranslationHelpers.GetPropertiesString(e.GlobalProperties), 170e => TranslationHelpers.GetMultiItemsString(e.Items), 175e => TranslationHelpers.GetPropertiesString(e.Properties), 360e => TranslationHelpers.ToString(e.ExtendedMetadata), 433e => TranslationHelpers.ToString(e.ExtendedMetadata), 510e => TranslationHelpers.ToString(e.ExtendedMetadata), 611TranslationHelpers.ToString(desArgs.ExtendedMetadata).ShouldBe(TranslationHelpers.ToString(args.ExtendedMetadata)); 693e => TranslationHelpers.ToString(e.ExtendedMetadata), 739e => TranslationHelpers.GetItemsString(e.Items)); 777e => TranslationHelpers.GetPropertiesString(e.GlobalProperties), 778e => TranslationHelpers.GetPropertiesString(e.Properties), 779e => TranslationHelpers.GetMultiItemsString(e.Items));
Collections\OMcollections_tests.cs (4)
80TranslationHelpers.GetWriteTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref properties, ProjectPropertyInstance.FactoryForDeserialization); 82TranslationHelpers.GetReadTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref deserializedProperties, ProjectPropertyInstance.FactoryForDeserialization); 95TranslationHelpers.GetWriteTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref properties, ProjectPropertyInstance.FactoryForDeserialization); 97TranslationHelpers.GetReadTranslator().TranslateDictionary<PropertyDictionary<ProjectPropertyInstance>, ProjectPropertyInstance>(ref deserializedProperties, ProjectPropertyInstance.FactoryForDeserialization);
Construction\ElementLocation_Tests.cs (6)
165TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization); 167TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization); 183TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization); 185TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization); 285TranslationHelpers.GetWriteTranslator().Translate(ref location, ElementLocation.FactoryForDeserialization); 287TranslationHelpers.GetReadTranslator().Translate(ref deserializedLocation, ElementLocation.FactoryForDeserialization);
Definition\Toolset_Tests.cs (2)
114((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 115Toolset t2 = Toolset.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectInstance_Internal_Tests.cs (4)
696((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 697var copy = ProjectInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 751((ITranslatable)pi).Translate(TranslationHelpers.GetWriteTranslator()); 752var copy = ProjectInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectItemGroupTaskItemInstance_Internal_Tests.cs (2)
45((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 46var clone = ProjectItemGroupTaskItemInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectMetadataInstance_Internal_Tests.cs (2)
43TranslationHelpers.GetWriteTranslator().Translate(ref metadata, ProjectMetadataInstance.FactoryForDeserialization); 45TranslationHelpers.GetReadTranslator().Translate(ref deserializedMetadata, ProjectMetadataInstance.FactoryForDeserialization);
Instance\ProjectPropertyGroupTaskPropertyInstance_Internal_Tests.cs (2)
23((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 24var copy = ProjectPropertyGroupTaskPropertyInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectPropertyInstance_Internal_Tests.cs (6)
43TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization); 45TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization); 60TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization); 62TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization); 79TranslationHelpers.GetWriteTranslator().Translate(ref property, ProjectPropertyInstance.FactoryForDeserialization); 81TranslationHelpers.GetReadTranslator().Translate(ref deserializedProperty, ProjectPropertyInstance.FactoryForDeserialization);
Instance\ProjectTargetInstance_Internal_Tests.cs (2)
79((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 80var copy = ProjectTargetInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\ProjectTaskInstance_Internal_Tests.cs (2)
80((ITranslatable)original).Translate(TranslationHelpers.GetWriteTranslator()); 81var copy = ProjectTaskInstance.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
Instance\TaskItem_Tests.cs (2)
57TranslationHelpers.GetWriteTranslator().Translate(ref item, TaskItem.FactoryForDeserialization); 59TranslationHelpers.GetReadTranslator().Translate(ref deserializedItem, TaskItem.FactoryForDeserialization);
InternalEngineHelpers.cs (2)
178TranslationHelpers.CompareExceptions(a.Exception, b.Exception, out string diffReason).ShouldBeTrue(diffReason); 179TranslationHelpers.CompareCollections(a.Items, b.Items, TaskItemComparer.Instance).ShouldBeTrue();
TaskParameter_Tests.cs (34)
36((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 37TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 70((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 71TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 112((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 113TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 129((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 130TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 150((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 151TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 178((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 179TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 200((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 201TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 230((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 231TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 258((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 259TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 285((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 286TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 310((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 311TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 321((ITranslatable)t3).Translate(TranslationHelpers.GetWriteTranslator()); 322TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 347((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 348TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 379((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 380TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 412((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 413TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 425((ITranslatable)t3).Translate(TranslationHelpers.GetWriteTranslator()); 426TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 461((ITranslatable)t).Translate(TranslationHelpers.GetWriteTranslator()); 462TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());