Implemented interface member:
property
Handle
ILAssembler.EntityRegistry.IHasHandle.Handle
1 write to Handle
ILAssembler (1)
EntityRegistry.cs (1)
1124
Handle
= token;
56 references to Handle
ILAssembler (56)
BlobBuilderExtensions.cs (1)
94
builder.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(entity.
Handle
));
EntityRegistry.cs (42)
185
resolutionScope is FakeTypeEntity fakeScope ? fakeScope.ResolutionScopeColumnHandle : resolutionScope.
Handle
,
197
type.BaseType is null ? default : type.BaseType.
Handle
,
202
(TypeDefinitionHandle)type.
Handle
,
205
(TypeDefinitionHandle)type.
Handle
,
211
(TypeDefinitionHandle)type.
Handle
,
218
builder.AddNestedType((TypeDefinitionHandle)type.
Handle
, (TypeDefinitionHandle)type.ContainingType.
Handle
);
231
builder.AddFieldLayout((FieldDefinitionHandle)fieldDef.
Handle
, fieldDef.Offset.Value);
236
builder.AddFieldRelativeVirtualAddress((FieldDefinitionHandle)fieldDef.
Handle
, dataOffset);
241
builder.AddMarshallingDescriptor(fieldDef.
Handle
, builder.GetOrAddBlob(fieldDef.MarshallingDescriptor));
246
builder.AddConstant(fieldDef.
Handle
, fieldDef.ConstantValue);
272
(MethodDefinitionHandle)methodDef.
Handle
,
275
(ModuleReferenceHandle)methodDef.MethodImportInformation.Value.ModuleName.
Handle
);
288
builder.AddMarshallingDescriptor(param.
Handle
, builder.GetOrAddBlob(param.MarshallingDescriptor));
293
builder.AddConstant(param.
Handle
, param.ConstantValue);
300
(TypeDefinitionHandle)impl.Type.
Handle
,
301
impl.InterfaceType is FakeTypeEntity fakeType ? fakeType.TypeColumnHandle : impl.InterfaceType.
Handle
);
307
memberRef.Parent.
Handle
,
315
declSecurity.Parent?.
Handle
?? default,
326
{
Handle
: var h } => h,
331
customAttr.Constructor.
Handle
,
346
evt.Type.
Handle
);
350
builder.AddMethodSemantics(evt.
Handle
, accessor.Semantic, (MethodDefinitionHandle)accessor.Method.
Handle
);
363
builder.AddMethodSemantics(prop.
Handle
, accessor.Semantic, (MethodDefinitionHandle)accessor.Method.
Handle
);
368
builder.AddConstant(prop.
Handle
, prop.ConstantValue);
426
exportedType.Implementation.
Handle
,
435
resource.Implementation?.
Handle
?? default,
441
builder.AddMethodSpecification(methodSpec.Parent.
Handle
, builder.GetOrAddBlob(methodSpec.Signature));
447
genericParam.Owner!.
Handle
,
456
(GenericParameterHandle)constraint.Owner!.
Handle
,
457
constraint.BaseType.
Handle
);
482
if (!item.
Handle
.IsNil)
484
return item.
Handle
;
493
if (!item.
Handle
.IsNil)
495
return item.
Handle
;
503
if (otherList.Count != 0 && !otherList[otherList.Count - 1].
Handle
.IsNil)
505
return MetadataTokens.EntityHandle(tokenType, MetadataTokens.GetRowNumber(otherList[otherList.Count - 1].
Handle
) + 1);
962
case TypeEntity {
Handle
.Kind: HandleKind.TypeDefinition } type:
964
var typeDef = (TypeDefinitionEntity)GetSeenEntities(TableIndex.TypeDef)[MetadataTokens.GetRowNumber(type.
Handle
) - 1];
971
((IHasHandle)memberRef).SetHandle(method.
Handle
);
GrammarVisitor.cs (13)
155
MetadataTokens.GetToken(method.
Handle
),
302
methodTokens[method.VTableSlot - 1] = MetadataTokens.GetToken(method.
Handle
);
664
parameters => parameters.AddParameter().Type().Type(debuggingModesType.
Handle
, isValueType: true));
1363
return new(new EntityRegistry.FakeTypeEntity(resolvedToken.
Handle
));
2975
_currentMethod.Definition.MethodBody.Token(VisitMdtoken(mdtoken).Value.
Handle
);
2986
_currentMethod.Definition.MethodBody.Token(fieldRef.
Handle
);
3023
_currentMethod.Definition.MethodBody.Token(methodRef.
Handle
);
3093
_currentMethod!.Definition.MethodBody.Token(_entityRegistry.GetOrCreateStandaloneSignature(signature).
Handle
);
3182
_currentMethod.Definition.MethodBody.Token(tok.
Handle
);
3188
_currentMethod.Definition.MethodBody.Token(arg.
Handle
);
4709
_currentMethod!.Definition.MethodBody.ControlFlowBuilder!.AddCatchRegion(tryStart, tryEnd, catchClause.Start, catchClause.End, catchClause.Type.
Handle
);
5323
return new(new EntityRegistry.FakeTypeEntity(module.
Handle
));
5331
}).
Handle
));