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);
115
_declaringType
= schemaContext.GetXamlType(accessor.DeclaringType);
142
_declaringType
= schemaContext.GetXamlType(adder.DeclaringType);
153
_declaringType
= null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
158
public XamlType DeclaringType { get { return
_declaringType
; } }
185
get { return IsReadPublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
190
get { return IsWritePublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
228
return
_declaringType
;
350
Debug.Assert(
_declaringType
is not null, "XamlDirective should not call base.ToString");
351
return $"{
_declaringType
}.{Name}";
581
XamlMember member =
_declaringType
.GetMember(name);
695
return
_declaringType
;
892
private XamlSchemaContext SchemaContext { get { return
_declaringType
.SchemaContext; } }