35 references to MemberInfo
System.Private.DataContractSerialization (35)
System\Runtime\Serialization\ClassDataContract.cs (9)
260
Type declaringType = memberContract.
MemberInfo
.DeclaringType!;
263
existingMemberContract.
MemberInfo
.Name,
264
memberContract.
MemberInfo
.Name,
479
if (Members[i].
MemberInfo
is FieldInfo)
484
Members[i].
MemberInfo
.Name),
492
Members[i].
MemberInfo
.Name),
562
if (Members[i].
MemberInfo
is FieldInfo)
567
Members[i].
MemberInfo
.Name),
575
Members[i].
MemberInfo
.Name),
System\Runtime\Serialization\DataContractSet.cs (7)
156
if (_extendedSurrogateProvider != null && dataMember.
MemberInfo
!= null)
160
dataMember.
MemberInfo
,
265
if (dataMember.
MemberInfo
is not Type)
277
(dataMember.
MemberInfo
.DeclaringType != null) ? DataContract.GetClrTypeFullName(dataMember.
MemberInfo
.DeclaringType) : dataMember.
MemberInfo
.DeclaringType,
278
dataMember.
MemberInfo
.Name));
System\Runtime\Serialization\DataMember.cs (4)
92
internal FastInvokerBuilder.Getter Getter => _getter ??= FastInvokerBuilder.CreateGetter(
MemberInfo
);
95
internal FastInvokerBuilder.Setter Setter => _setter ??= FastInvokerBuilder.CreateSetter(
MemberInfo
);
248
MemberInfo memberInfo =
MemberInfo
;
273
MemberInfo memberInfo =
MemberInfo
;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (4)
376
_ilg.LoadMember(dataMember.
MemberInfo
);
389
_ilg.StoreMember(dataMember.
MemberInfo
);
1000
_ilg.LoadMember(keyMember.
MemberInfo
);
1003
_ilg.LoadMember(valueMember.
MemberInfo
);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
258
if (requiresNameAttribute || !TryWritePrimitive(memberType, memberValue, member.
MemberInfo
, arrayItemIndex: null, name: null, nameIndex: i + _childElementIndex))
300
_ilg.LoadMember(member.
MemberInfo
);
System\Runtime\Serialization\ReflectionReader.cs (1)
240
MemberInfo memberInfo = dataMember.
MemberInfo
;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (4)
442
_ilg.LoadMember(dataMember.
MemberInfo
);
455
_ilg.StoreMember(dataMember.
MemberInfo
);
929
_ilg.LoadMember(keyMember.
MemberInfo
);
932
_ilg.LoadMember(valueMember.
MemberInfo
);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
327
if (writeXsiType || !TryWritePrimitive(memberType, memberValue, member.
MemberInfo
, arrayItemIndex: null, ns: namespaceLocal, name: null, nameIndex: i + _childElementIndex))
366
_ilg.LoadMember(member.
MemberInfo
);
System\Runtime\Serialization\XPathQueryGenerator.cs (2)
77
if (member.
MemberInfo
.Name == memberNode.Name && member.
MemberInfo
.DeclaringType!.IsAssignableFrom(memberNode.DeclaringType))