13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
59_attributes = typeAttributes; 471_attributes |= TypeAttributes.SpecialName; 475_attributes |= TypeAttributes.Serializable; 479_attributes |= TypeAttributes.Import; 482_attributes |= TypeAttributes.WindowsRuntime; 485_attributes |= TypeAttributes.HasSecurity; 502_attributes &= ~TypeAttributes.LayoutMask; 503_attributes |= layoutKind switch 524_attributes &= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass); 527_attributes &= ~TypeAttributes.AutoClass; 528_attributes |= TypeAttributes.UnicodeClass; 531_attributes &= ~TypeAttributes.UnicodeClass; 532_attributes |= TypeAttributes.AutoClass;
9 references to _attributes
System.Reflection.Emit (9)
System\Reflection\Emit\TypeBuilderImpl.cs (9)
115if (_constructorDefinitions.Count == 0 && (_attributes & TypeAttributes.Interface) == 0 && !IsValueType && 116((_attributes & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 137if ((_attributes & TypeAttributes.Abstract) == 0) 163if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 189if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface) 377if ((_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 565if ((_attributes & TypeAttributes.Interface) != TypeAttributes.Interface) 571if ((_attributes & TypeAttributes.Abstract) == 0) 644protected override TypeAttributes GetAttributeFlagsImpl() => _attributes;