6 writes to _declaringType
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
37
_declaringType
= declaringType ?? throw new ArgumentNullException(nameof(declaringType));
57
_declaringType
= schemaContext.GetXamlType(propertyInfo.DeclaringType);
80
_declaringType
= schemaContext.GetXamlType(eventInfo.DeclaringType);
114
_declaringType
= schemaContext.GetXamlType(accessor.DeclaringType);
141
_declaringType
= schemaContext.GetXamlType(adder.DeclaringType);
152
_declaringType
= null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
157
public XamlType DeclaringType { get { return
_declaringType
; } }
183
get { return IsReadPublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
188
get { return IsWritePublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
224
return
_declaringType
;
338
Debug.Assert(
_declaringType
is not null, "XamlDirective should not call base.ToString");
339
return $"{
_declaringType
}.{Name}";
555
XamlMember member =
_declaringType
.GetMember(name);
659
return
_declaringType
;
845
private XamlSchemaContext SchemaContext { get { return
_declaringType
.SchemaContext; } }