1 write to MemberInfo
System.Private.Xml (1)
System\Xml\Serialization\SourceInfo.cs (1)
45this.MemberInfo = memberInfo;
11 references to MemberInfo
System.Private.Xml (11)
System\Xml\Serialization\SourceInfo.cs (8)
52return new SourceInfo($"(({td.CSharpName}){Source})", Arg, MemberInfo, td.Type!, ILG); 145if (Arg.StartsWith("o.@", StringComparison.Ordinal) || MemberInfo != null) 174if (MemberInfo != null) 176Type memberType = (MemberInfo is FieldInfo) ? 177((FieldInfo)MemberInfo).FieldType : ((PropertyInfo)MemberInfo).PropertyType; 180ILG.LoadMemberAddress(MemberInfo); 185ILG.LoadMember(MemberInfo);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
2501Debug.Assert(initValue.MemberInfo != null); 2502Debug.Assert(initValue.MemberInfo.Name == initValue.Arg.Substring(3)); 2503initValue.ILG.LoadMember(initValue.ILG.GetLocal("o"), initValue.MemberInfo);