3 writes to _handle
System.Reflection.Emit (3)
System\Reflection\Emit\ModuleBuilderImpl.cs (3)
314method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++); 1268method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++); 1296method._handle = MetadataTokens.MethodDefinitionHandle(_nextMethodDefRowId++);
16 references to _handle
System.Reflection.Emit (16)
System\Reflection\Emit\MethodBuilderImpl.cs (2)
252public override int MetadataToken => _handle == default ? 0 : MetadataTokens.GetToken(_handle);
System\Reflection\Emit\ModuleBuilderImpl.cs (14)
241AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Adder, aMb._handle); 246AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Raiser, rMb._handle); 251AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Remover, remMb._handle); 258AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Other, method._handle); 279AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Getter, gMb._handle); 284AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Setter, sMb._handle); 291AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Other, method._handle); 364AddSymbolInfo(il, signature, method._handle); 368Debug.Assert(method._handle == handle); 1034return mb._handle; 1039return ctor._methodBuilder._handle; 1163return cb._methodBuilder._handle; 1175return mb._handle; 1203return mb._handle;