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)
115
if (_constructorDefinitions.Count == 0 && (
_attributes
& TypeAttributes.Interface) == 0 && !IsValueType &&
116
((
_attributes
& (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed)))
137
if ((
_attributes
& TypeAttributes.Abstract) == 0)
163
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static)
189
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface)
377
if ((
_attributes
& TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface)
563
if ((
_attributes
& TypeAttributes.Interface) != TypeAttributes.Interface)
569
if ((
_attributes
& TypeAttributes.Abstract) == 0)
641
protected override TypeAttributes GetAttributeFlagsImpl() =>
_attributes
;