37 references to GetSeenEntities
Microsoft.DotNet.ILAssembler (37)
Actions\GrammarActions.BuildImage.cs (2)
642foreach (EntityRegistry.TypeDefinitionEntity type in _entityRegistry.GetSeenEntities(TableIndex.TypeDef)) 793foreach (var entity in _entityRegistry.GetSeenEntities(TableIndex.MethodDef))
EntityRegistry.cs (33)
113foreach (TypeDefinitionEntity type in GetSeenEntities(TableIndex.TypeDef)) 218IReadOnlyList<EntityBase> typeSpecifications = GetSeenEntities(TableIndex.TypeSpec); 246foreach (TypeReferenceEntity type in GetSeenEntities(TableIndex.TypeRef)) 263for (int i = 0; i < GetSeenEntities(TableIndex.TypeDef).Count; i++) 265TypeDefinitionEntity type = (TypeDefinitionEntity)GetSeenEntities(TableIndex.TypeDef)[i]; 271GetFieldHandleForList(type.Fields, GetSeenEntities(TableIndex.TypeDef), type => ((TypeDefinitionEntity)type).Fields, i), 272GetMethodHandleForList(type.Methods, GetSeenEntities(TableIndex.TypeDef), type => ((TypeDefinitionEntity)type).Methods, i)); 278GetEventHandleForList(type.Events, GetSeenEntities(TableIndex.TypeDef), type => ((TypeDefinitionEntity)type).Events, i)); 284GetPropertyHandleForList(type.Properties, GetSeenEntities(TableIndex.TypeDef), type => ((TypeDefinitionEntity)type).Properties, i)); 303foreach (FieldDefinitionEntity fieldDef in GetSeenEntities(TableIndex.Field)) 351for (int i = 0; i < GetSeenEntities(TableIndex.MethodDef).Count; i++) 353MethodDefinitionEntity methodDef = (MethodDefinitionEntity)GetSeenEntities(TableIndex.MethodDef)[i]; 414GetParameterHandleForList(methodDef.Parameters, GetSeenEntities(TableIndex.MethodDef), method => ((MethodDefinitionEntity)method).Parameters, i)); 426foreach (ParameterEntity param in GetSeenEntities(TableIndex.Param)) 453foreach (InterfaceImplementationEntity impl in GetSeenEntities(TableIndex.InterfaceImpl)) 460foreach (MethodImplementationEntity impl in GetSeenEntities(TableIndex.MethodImpl)) 468foreach (DeclarativeSecurityAttributeEntity declSecurity in GetSeenEntities(TableIndex.DeclSecurity)) 476foreach (CustomAttributeEntity customAttr in GetSeenEntities(TableIndex.CustomAttribute)) 497foreach (StandaloneSignatureEntity standaloneSig in GetSeenEntities(TableIndex.StandAloneSig)) 503foreach (EventEntity evt in GetSeenEntities(TableIndex.Event)) 519foreach (PropertyEntity prop in GetSeenEntities(TableIndex.Property)) 540foreach (ModuleReferenceEntity moduleRef in GetSeenEntities(TableIndex.ModuleRef)) 545foreach (AssemblyReferenceEntity asmRef in GetSeenEntities(TableIndex.AssemblyRef)) 569foreach (FileEntity file in GetSeenEntities(TableIndex.File)) 577foreach (ExportedTypeEntity exportedType in GetSeenEntities(TableIndex.ExportedType)) 593foreach (ManifestResourceEntity resource in GetSeenEntities(TableIndex.ManifestResource)) 602foreach (GenericParameterEntity genericParam in GetSeenEntities(TableIndex.GenericParam)) 613foreach (GenericParameterConstraintEntity constraint in GetSeenEntities(TableIndex.GenericParamConstraint)) 1313var outerTypeDef = (TypeDefinitionEntity)GetSeenEntities(TableIndex.TypeDef)[MetadataTokens.GetRowNumber(outerTypeRef.Handle) - 1]; 1608var method = (MethodDefinitionEntity)GetSeenEntities(TableIndex.MethodDef)[MetadataTokens.GetRowNumber(memberRef.Parent.Handle) - 1]; 1634IReadOnlyList<EntityBase> methodSpecifications = GetSeenEntities(TableIndex.MethodSpec); 1697var typeDef = (TypeDefinitionEntity)GetSeenEntities(TableIndex.TypeDef)[MetadataTokens.GetRowNumber(type.Handle) - 1]; 1739var typeDef = (TypeDefinitionEntity)GetSeenEntities(TableIndex.TypeDef)[MetadataTokens.GetRowNumber(type.Handle) - 1];
PseudoCustomAttributes.cs (1)
28foreach (var entity in registry.GetSeenEntities(TableIndex.CustomAttribute))
PseudoCustomAttributes.MarshalAs.cs (1)
97foreach (var entity in registry.GetSeenEntities(TableIndex.TypeDef))