77 instantiations of AttributeValue
ILAssembler (77)
Actions\GrammarActions.Members.Fields.cs (15)
119
"static" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.Static, 0, true),
120
"public" => new CILParser.
AttributeValue
<FieldAttributes>(
124
"private" => new CILParser.
AttributeValue
<FieldAttributes>(
128
"family" => new CILParser.
AttributeValue
<FieldAttributes>(
132
"initonly" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.InitOnly, 0, true),
133
"rtspecialname" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.RTSpecialName, 0, true),
134
"specialname" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.SpecialName, 0, true),
135
"assembly" => new CILParser.
AttributeValue
<FieldAttributes>(
139
"famandassem" => new CILParser.
AttributeValue
<FieldAttributes>(
143
"famorassem" => new CILParser.
AttributeValue
<FieldAttributes>(
147
"privatescope" => new CILParser.
AttributeValue
<FieldAttributes>(
151
"literal" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.Literal, 0, true),
153
"notserialized" => new CILParser.
AttributeValue
<FieldAttributes>(FieldAttributes.NotSerialized, 0, true),
155
"volatile" => new CILParser.
AttributeValue
<FieldAttributes>(0, 0, true),
160
=>
new
((FieldAttributes)ParseInt32(token), 0, false);
Actions\GrammarActions.Members.PropertiesEvents.cs (4)
48
"specialname" => new CILParser.
AttributeValue
<PropertyAttributes>(
52
"rtspecialname" => new CILParser.
AttributeValue
<PropertyAttributes>(0, 0, true),
175
"specialname" => new CILParser.
AttributeValue
<EventAttributes>(
179
"rtspecialname" => new CILParser.
AttributeValue
<EventAttributes>(0, 0, true),
Actions\GrammarActions.MethodHeaders.Actions.cs (55)
70
"static" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.Static, 0, true),
71
"public" => new CILParser.
AttributeValue
<MethodAttributes>(
75
"private" => new CILParser.
AttributeValue
<MethodAttributes>(
79
"family" => new CILParser.
AttributeValue
<MethodAttributes>(
83
"final" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.Final, 0, true),
84
"specialname" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.SpecialName, 0, true),
85
"virtual" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.Virtual, 0, true),
86
"strict" => new CILParser.
AttributeValue
<MethodAttributes>(
90
"abstract" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.Abstract, 0, true),
91
"assembly" => new CILParser.
AttributeValue
<MethodAttributes>(
95
"famandassem" => new CILParser.
AttributeValue
<MethodAttributes>(
99
"famorassem" => new CILParser.
AttributeValue
<MethodAttributes>(
103
"privatescope" => new CILParser.
AttributeValue
<MethodAttributes>(
107
"hidebysig" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.HideBySig, 0, true),
108
"newslot" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.NewSlot, 0, true),
109
"rtspecialname" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.RTSpecialName, 0, true),
110
"unmanagedexp" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.UnmanagedExport, 0, true),
111
"reqsecobj" => new CILParser.
AttributeValue
<MethodAttributes>(MethodAttributes.RequireSecObject, 0, true),
116
=>
new
((MethodAttributes)ParseInt32(token), 0, false);
122
"native" => new CILParser.
AttributeValue
<MethodImplAttributes>(
126
"cil" or "il" => new CILParser.
AttributeValue
<MethodImplAttributes>(
130
"optil" => new CILParser.
AttributeValue
<MethodImplAttributes>(
134
"managed" => new CILParser.
AttributeValue
<MethodImplAttributes>(
138
"unmanaged" => new CILParser.
AttributeValue
<MethodImplAttributes>(
142
"forwardref" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.ForwardRef, 0, true),
143
"preservesig" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.PreserveSig, 0, true),
144
"runtime" => new CILParser.
AttributeValue
<MethodImplAttributes>(
148
"internalcall" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.InternalCall, 0, true),
149
"synchronized" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.Synchronized, 0, true),
150
"noinlining" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.NoInlining, 0, true),
151
"aggressiveinlining" => new CILParser.
AttributeValue
<MethodImplAttributes>(
155
"nooptimization" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.NoOptimization, 0, true),
156
"aggressiveoptimization" => new CILParser.
AttributeValue
<MethodImplAttributes>(
160
"async" => new CILParser.
AttributeValue
<MethodImplAttributes>(MethodImplAttributes.Async, 0, true),
166
=>
new
((MethodImplAttributes)ParseInt32(token), 0, false);
188
"nomangle" => new CILParser.
AttributeValue
<MethodImportAttributes>(
192
"ansi" => new CILParser.
AttributeValue
<MethodImportAttributes>(
196
"unicode" => new CILParser.
AttributeValue
<MethodImportAttributes>(
200
"autochar" => new CILParser.
AttributeValue
<MethodImportAttributes>(
204
"lasterr" => new CILParser.
AttributeValue
<MethodImportAttributes>(
208
"winapi" => new CILParser.
AttributeValue
<MethodImportAttributes>(
212
"cdecl" => new CILParser.
AttributeValue
<MethodImportAttributes>(
216
"stdcall" => new CILParser.
AttributeValue
<MethodImportAttributes>(
220
"thiscall" => new CILParser.
AttributeValue
<MethodImportAttributes>(
224
"fastcall" => new CILParser.
AttributeValue
<MethodImportAttributes>(
233
=>
new
(
242
=>
new
(
251
=>
new
(
260
"+" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
264
"-" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
268
"class" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
272
"valuetype" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
276
"byreflike" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
280
".ctor" => new CILParser.
AttributeValue
<GenericParameterAttributes>(
289
=>
new
(
Actions\GrammarActions.Types.Headers.Actions.cs (2)
131
new
((TypeAttributes)value, 0, false),
149
=> new(new CILParser.
AttributeValue
<TypeAttributes>(value, groupMask, true), fallbackBase, requireSealed);
CILParser.SemanticValues.Declarations.cs (1)
15
public static AttributeValue<T> Empty { get; } =
new
(default, default, true);
42 references to AttributeValue
ILAssembler (42)
Actions\GrammarActions.Conversions.cs (1)
163
CILParser.
AttributeValue
<T> attribute)
Actions\GrammarActions.Members.Fields.cs (3)
24
CILParser.
AttributeValue
<FieldAttributes> value)
116
internal CILParser.
AttributeValue
<FieldAttributes> CreateFieldAttribute(IToken token)
159
internal CILParser.
AttributeValue
<FieldAttributes> CreateRawFieldAttribute(IToken token)
Actions\GrammarActions.Members.PropertiesEvents.cs (4)
16
CILParser.
AttributeValue
<PropertyAttributes> value)
45
internal CILParser.
AttributeValue
<PropertyAttributes> CreatePropertyAttribute(IToken token)
149
CILParser.
AttributeValue
<EventAttributes> value)
172
internal CILParser.
AttributeValue
<EventAttributes> CreateEventAttribute(IToken token)
Actions\GrammarActions.MethodHeaders.Actions.cs (14)
22
CILParser.
AttributeValue
<MethodAttributes> value)
30
CILParser.
AttributeValue
<MethodImplAttributes> value)
67
internal CILParser.
AttributeValue
<MethodAttributes> CreateMethodAttribute(IToken token)
115
internal CILParser.
AttributeValue
<MethodAttributes> CreateRawMethodAttribute(IToken token)
118
internal CILParser.
AttributeValue
<MethodImplAttributes>
164
internal CILParser.
AttributeValue
<MethodImplAttributes>
178
CILParser.
AttributeValue
<MethodImportAttributes> value)
184
internal CILParser.
AttributeValue
<MethodImportAttributes>
231
internal CILParser.
AttributeValue
<MethodImportAttributes>
240
internal CILParser.
AttributeValue
<MethodImportAttributes>
249
internal CILParser.
AttributeValue
<MethodImportAttributes>
256
internal CILParser.
AttributeValue
<GenericParameterAttributes>
287
internal CILParser.
AttributeValue
<GenericParameterAttributes>
296
CILParser.
AttributeValue
<GenericParameterAttributes> value)
Actions\GrammarActions.Types.Headers.cs (2)
129
CILParser.
AttributeValue
<TypeAttributes> attribute = classAttribute.Attribute;
199
CILParser.
AttributeValue
<TypeAttributes> attribute = classAttribute.Attribute;
CILParser.SemanticValues.Declarations.cs (4)
15
public static
AttributeValue
<T> Empty { get; } = new(default, default, true);
115
new(
AttributeValue
<TypeAttributes>.Empty, null, false);
118
AttributeValue
<TypeAttributes> attribute,
127
internal
AttributeValue
<TypeAttributes> Attribute { get; }
gen\CILParser.cs (14)
9274
public CILParser.
AttributeValue
<System.Reflection.GenericParameterAttributes> Value;
9298
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.GenericParameterAttributes>.Empty;
10387
public CILParser.
AttributeValue
<System.Reflection.FieldAttributes> Value;
10404
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.FieldAttributes>.Empty;
10973
public CILParser.
AttributeValue
<System.Reflection.EventAttributes> Value;
10986
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.EventAttributes>.Empty;
11312
public CILParser.
AttributeValue
<System.Reflection.PropertyAttributes> Value;
11325
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.PropertyAttributes>.Empty;
12067
public CILParser.
AttributeValue
<System.Reflection.MethodAttributes> Value;
12084
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.MethodAttributes>.Empty;
12371
public CILParser.
AttributeValue
<System.Reflection.MethodImportAttributes> Value;
12394
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.MethodImportAttributes>.Empty;
12622
public CILParser.
AttributeValue
<System.Reflection.MethodImplAttributes> Value;
12640
_localctx.Value = CILParser.
AttributeValue
<System.Reflection.MethodImplAttributes>.Empty;