6 writes to _declaringType
System.Xaml (6)
System\Xaml\XamlMember.cs (6)
40
_declaringType
= declaringType ?? throw new ArgumentNullException(nameof(declaringType));
60
_declaringType
= schemaContext.GetXamlType(propertyInfo.DeclaringType);
83
_declaringType
= schemaContext.GetXamlType(eventInfo.DeclaringType);
117
_declaringType
= schemaContext.GetXamlType(accessor.DeclaringType);
144
_declaringType
= schemaContext.GetXamlType(adder.DeclaringType);
155
_declaringType
= null;
11 references to _declaringType
System.Xaml (11)
System\Xaml\XamlMember.cs (11)
160
public XamlType DeclaringType { get { return
_declaringType
; } }
186
get { return IsReadPublicIgnoringType && (
_declaringType
== null ||
_declaringType
.IsPublic); }
191
get { return IsWritePublicIgnoringType && (
_declaringType
== null ||
_declaringType
.IsPublic); }
227
return
_declaringType
;
341
Debug.Assert(
_declaringType
!= null, "XamlDirective should not call base.ToString");
342
return $"{
_declaringType
}.{Name}";
558
XamlMember member =
_declaringType
.GetMember(name);
662
return
_declaringType
;
848
private XamlSchemaContext SchemaContext { get { return
_declaringType
.SchemaContext; } }