1 instantiation of MetadataImport
System.Private.CoreLib (1)
src\System\Reflection\RuntimeModule.cs (1)
349internal MetadataImport MetadataImport => new MetadataImport(this);
19 references to MetadataImport
System.Private.CoreLib (19)
src\System\Reflection\Associates.cs (1)
111MetadataImport scope,
src\System\Reflection\MdConstant.cs (1)
8public static unsafe object? GetValue(MetadataImport scope, int token, RuntimeTypeHandle fieldTypeHandle, bool raw)
src\System\Reflection\MdImport.cs (3)
217if (obj is not MetadataImport) 219return Equals((MetadataImport)obj); 222private bool Equals(MetadataImport import)
src\System\Reflection\RuntimeAssembly.cs (1)
738MetadataImport scope = GetManifestModule().MetadataImport;
src\System\Reflection\RuntimeCustomAttributeData.cs (2)
202MetadataImport scope = module.MetadataImport; 258MetadataImport metadataScope = m_scope.MetadataImport;
src\System\Reflection\RuntimeEventInfo.cs (1)
34MetadataImport scope = declaredType.GetRuntimeModule().MetadataImport;
src\System\Reflection\RuntimeModule.cs (1)
349internal MetadataImport MetadataImport => new MetadataImport(this);
src\System\Reflection\RuntimeParameterInfo.cs (4)
51MetadataImport scope = RuntimeMethodHandle.GetDeclaringType(methodHandle).GetRuntimeModule().MetadataImport; 116private readonly MetadataImport m_scope; 180Signature signature, MetadataImport scope, int tkParamDef, 184Debug.Assert(MdToken.IsNullToken(tkParamDef) == scope.Equals((MetadataImport)default));
src\System\Reflection\RuntimePropertyInfo.cs (1)
39MetadataImport scope = module.MetadataImport;
src\System\RuntimeType.CoreCLR.cs (4)
936MetadataImport scope = module.MetadataImport; 1107MetadataImport scope = moduleHandle.GetRuntimeModule().MetadataImport; 1180MetadataImport scope = module.MetadataImport; 1294MetadataImport scope = module.MetadataImport;