/// <summary> /// Function for serialization. /// </summary> void INodePacketTranslatable.Translate(INodePacketTranslator translator) { translator.Translate(ref _toolsVersion); translator.Translate(ref _toolsPath); translator.TranslateProjectPropertyInstanceDictionary(ref _properties); translator.TranslateProjectPropertyInstanceDictionary(ref _environmentProperties); translator.TranslateProjectPropertyInstanceDictionary(ref _globalProperties); translator.TranslateDictionary(ref _subToolsets, StringComparer.OrdinalIgnoreCase, SubToolset.FactoryForDeserialization); translator.Translate(ref _overrideTasksPath); translator.Translate(ref _defaultOverrideToolsVersion); translator.TranslateDictionaryList(ref _propertySearchPathsTable, StringComparer.OrdinalIgnoreCase); }