6 writes to _declaringType
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
38
_declaringType
= declaringType ?? throw new ArgumentNullException(nameof(declaringType));
58
_declaringType
= schemaContext.GetXamlType(propertyInfo.DeclaringType);
81
_declaringType
= schemaContext.GetXamlType(eventInfo.DeclaringType);
116
_declaringType
= schemaContext.GetXamlType(accessor.DeclaringType);
143
_declaringType
= schemaContext.GetXamlType(adder.DeclaringType);
154
_declaringType
= null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
159
public XamlType DeclaringType { get { return
_declaringType
; } }
186
get { return IsReadPublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
191
get { return IsWritePublicIgnoringType && (
_declaringType
is null ||
_declaringType
.IsPublic); }
229
return
_declaringType
;
351
Debug.Assert(
_declaringType
is not null, "XamlDirective should not call base.ToString");
352
return $"{
_declaringType
}.{Name}";
582
XamlMember member =
_declaringType
.GetMember(name);
696
return
_declaringType
;
893
private XamlSchemaContext SchemaContext { get { return
_declaringType
.SchemaContext; } }