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)
159public XamlType DeclaringType { get { return _declaringType; } } 186get { return IsReadPublicIgnoringType && (_declaringType is null || _declaringType.IsPublic); } 191get { return IsWritePublicIgnoringType && (_declaringType is null || _declaringType.IsPublic); } 229return _declaringType; 351Debug.Assert(_declaringType is not null, "XamlDirective should not call base.ToString"); 352return $"{_declaringType}.{Name}"; 582XamlMember member = _declaringType.GetMember(name); 696return _declaringType; 893private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }