4 writes to MemberInfo
System.Private.Xml (4)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
674member.MemberInfo = model.MemberInfo;
System\Xml\Serialization\Types.cs (1)
1149newMapping.MemberInfo = mi;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1414member.MemberInfo = model.MemberInfo;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2866memberMapping.MemberInfo = memberInfos[source.Substring(3)];
10 references to MemberInfo
System.Private.Xml (10)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (5)
1357var setterDelegate = GetSetMemberValueDelegate(o!, member.Mapping.MemberInfo!.Name); 1446Func<object?> getSource = () => GetMemberValue(o, member.Mapping.MemberInfo!); 1447var setterDelegate = GetSetMemberValueDelegate(o, member.Mapping.MemberInfo!.Name); 1606member.Source = (value) => SetOrAddValueToMember(o!, value!, member.Mapping.MemberInfo!); 1648var pi = member.Mapping.MemberInfo as PropertyInfo;
System\Xml\Serialization\Types.cs (2)
1072MemberInfo? memberInfo = memberMapping.MemberInfo; 1111memberInfos[mappings[i].Name] = mappings[i].MemberInfo!;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2187WriteLocalDecl(a, new SourceInfo(member.Source, member.Source, member.Mapping.MemberInfo, member.Mapping.TypeDesc.Type, ilg));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1127WriteMember(ReflectionAwareILGen.GetSourceForMember("o", m, m.MemberInfo, ilg), choiceSource, m.ElementsSortedByDerivation!, m.Text, m.ChoiceIdentifier, m.TypeDesc!, true); 2333return GetSourceForMember(obj, member, member.MemberInfo, ilg);