17 references to MethodBodyAttributes
ILAssembler (6)
Actions\GrammarActions.Instructions.cs (1)
267
_currentMethod.Definition.BodyAttributes =
MethodBodyAttributes
.InitLocals;
Actions\GrammarActions.MethodBodies.Directives.cs (1)
35
_currentMethod.Definition.BodyAttributes =
MethodBodyAttributes
.InitLocals;
EntityRegistry.cs (3)
374
MethodBodyAttributes
bodyAttributes = methodDef.BodyAttributes;
384
bodyAttributes |=
MethodBodyAttributes
.InitLocals;
1997
public
MethodBodyAttributes
BodyAttributes { get; set; }
MethodBodyWriter.cs (1)
262
MethodBodyAttributes
attributes, IReadOnlyList<EntityRegistry.ExceptionRegion> exceptionRegions, bool hasDynamicStackAllocation)
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
3073
attributes: (methodBody.AreLocalsZeroed ?
MethodBodyAttributes
.InitLocals : 0),
System.Reflection.Emit (2)
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
631
attributes: method.InitLocals ?
MethodBodyAttributes
.InitLocals :
MethodBodyAttributes
.None,
System.Reflection.Metadata (8)
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (8)
48
MethodBodyAttributes
attributes)
71
MethodBodyAttributes
attributes =
MethodBodyAttributes
.InitLocals,
141
MethodBodyAttributes
attributes)
164
MethodBodyAttributes
attributes =
MethodBodyAttributes
.InitLocals,
224
MethodBodyAttributes
attributes,
233
bool initLocals = (attributes &
MethodBodyAttributes
.InitLocals) != 0;