13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
59_attributes = typeAttributes; 470_attributes |= TypeAttributes.SpecialName; 474_attributes |= TypeAttributes.Serializable; 478_attributes |= TypeAttributes.Import; 481_attributes |= TypeAttributes.WindowsRuntime; 484_attributes |= TypeAttributes.HasSecurity; 501_attributes &= ~TypeAttributes.LayoutMask; 502_attributes |= layoutKind switch 522_attributes &= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass); 525_attributes &= ~TypeAttributes.AutoClass; 526_attributes |= TypeAttributes.UnicodeClass; 529_attributes &= ~TypeAttributes.UnicodeClass; 530_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) 563if ((_attributes & TypeAttributes.Interface) != TypeAttributes.Interface) 569if ((_attributes & TypeAttributes.Abstract) == 0) 641protected override TypeAttributes GetAttributeFlagsImpl() => _attributes;