13 writes to _attributes
System.Reflection.Emit (13)
System\Reflection\Emit\TypeBuilderImpl.cs (13)
58
_attributes
= typeAttributes;
469
_attributes
|= TypeAttributes.SpecialName;
473
_attributes
|= TypeAttributes.Serializable;
477
_attributes
|= TypeAttributes.Import;
480
_attributes
|= TypeAttributes.WindowsRuntime;
483
_attributes
|= TypeAttributes.HasSecurity;
500
_attributes
&= ~TypeAttributes.LayoutMask;
501
_attributes
|= layoutKind switch
521
_attributes
&= ~(TypeAttributes.UnicodeClass | TypeAttributes.AutoClass);
524
_attributes
&= ~TypeAttributes.AutoClass;
525
_attributes
|= TypeAttributes.UnicodeClass;
528
_attributes
&= ~TypeAttributes.UnicodeClass;
529
_attributes
|= TypeAttributes.AutoClass;
9 references to _attributes
System.Reflection.Emit (9)
System\Reflection\Emit\TypeBuilderImpl.cs (9)
114
if (_constructorDefinitions.Count == 0 && (
_attributes
& TypeAttributes.Interface) == 0 && !IsValueType &&
115
((
_attributes
& (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed)))
136
if ((
_attributes
& TypeAttributes.Abstract) == 0)
162
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static)
188
if ((
_attributes
& TypeAttributes.Interface) == TypeAttributes.Interface)
376
if ((
_attributes
& TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface)
562
if ((
_attributes
& TypeAttributes.Interface) != TypeAttributes.Interface)
568
if ((
_attributes
& TypeAttributes.Abstract) == 0)
640
protected override TypeAttributes GetAttributeFlagsImpl() =>
_attributes
;