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)
374MethodBodyAttributes bodyAttributes = methodDef.BodyAttributes; 384bodyAttributes |= MethodBodyAttributes.InitLocals; 1997public MethodBodyAttributes BodyAttributes { get; set; }
MethodBodyWriter.cs (1)
262MethodBodyAttributes attributes, IReadOnlyList<EntityRegistry.ExceptionRegion> exceptionRegions, bool hasDynamicStackAllocation)
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
3073attributes: (methodBody.AreLocalsZeroed ? MethodBodyAttributes.InitLocals : 0),
System.Reflection.Emit (2)
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
631attributes: method.InitLocals ? MethodBodyAttributes.InitLocals : MethodBodyAttributes.None,
System.Reflection.Metadata (8)
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (8)
48MethodBodyAttributes attributes) 71MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, 141MethodBodyAttributes attributes) 164MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, 224MethodBodyAttributes attributes, 233bool initLocals = (attributes & MethodBodyAttributes.InitLocals) != 0;