FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (17)
42RaCodeGen.WriteReflectionInit(scope);
669RaCodeGen.ILGenForEnumLongValue(ilg, "v");
1079xmlnsSource = RaCodeGen.GetStringForMember("o", member.Name, mapping.TypeDesc);
1137string memberGet = RaCodeGen.GetStringForMember("o", m.Name + "Specified", mapping.TypeDesc);
1141WriteMember(RaCodeGen.GetSourceForMember("o", m, mapping.TypeDesc, ilg), m.Attribute, m.TypeDesc, "o");
1170string memberGet = RaCodeGen.GetStringForMember("o", m.Name + "Specified", mapping.TypeDesc);
1179choiceSource = RaCodeGen.GetStringForMember("o", m.ChoiceIdentifier.MemberName, mapping.TypeDesc);
1182WriteMember(RaCodeGen.GetSourceForMember("o", m, m.MemberInfo, mapping.TypeDesc, ilg), choiceSource, m.ElementsSortedByDerivation, m.Text, m.ChoiceIdentifier, m.TypeDesc, true);
1277WriteLocalDecl(aiVar, RaCodeGen.GetStringForArrayMember(aVar, iVar, memberTypeDesc), arrayElementTypeDesc.Type);
1633WriteLocalDecl(arrayNamePlusI, RaCodeGen.GetStringForArrayMember(arrayName, iPlusArrayName, arrayTypeDesc), arrayElementTypeDesc.Type);
1636WriteLocalDecl(choiceName + "i", RaCodeGen.GetStringForArrayMember(choiceName, iPlusArrayName, choice.Mapping.TypeDesc), choice.Mapping.TypeDesc.Type);
1642WriteElements(new SourceInfo(RaCodeGen.GetStringForArrayMember(arrayName, iPlusArrayName, arrayTypeDesc), null, null, arrayElementTypeDesc.Type, ilg), null, elements, text, choice, arrayNamePlusA, true, arrayElementTypeDesc.IsNullable);
2353RaCodeGen.WriteLocalDecl(variableName, new SourceInfo(initValue, initValue, null, type, ilg));
2358RaCodeGen.WriteArrayLocalDecl(typeName, variableName, initValue, arrayTypeDesc);
2362RaCodeGen.WriteTypeCompare(variable, type, ilg);
2366RaCodeGen.WriteInstanceOf(source, type, ilg);
2370RaCodeGen.WriteArrayTypeCompare(variable, arrayType, ilg);