3 instantiations of MetadataImport
mscorlib (3)
system\reflection\mdimport.cs (1)
295
internal static readonly MetadataImport EmptyImport = new
MetadataImport
((IntPtr)0, null);
system\runtimehandles.cs (2)
876
return new
MetadataImport
(_GetMetadataImport(type), type);
2121
return new
MetadataImport
(_GetMetadataImport(module.GetNativeHandle()), module);
29 references to MetadataImport
mscorlib (29)
system\reflection\Associates.cs (1)
121
MetadataImport
scope,
system\reflection\customattribute.cs (5)
324
MetadataImport
scope = module.MetadataImport;
1609
MetadataImport
scope = decoratedModule.MetadataImport;
1661
MetadataImport
scope = decoratedModule.MetadataImport;
1849
MetadataImport
scope,
2015
MetadataImport
scope = decoratedModule.MetadataImport;
system\reflection\eventinfo.cs (1)
258
MetadataImport
scope = declaredType.GetRuntimeModule().MetadataImport;
system\reflection\mdconstant.cs (1)
16
public static unsafe Object GetValue(
MetadataImport
scope, int token, RuntimeTypeHandle fieldTypeHandle, bool raw)
system\reflection\mdimport.cs (4)
295
internal static readonly
MetadataImport
EmptyImport = new MetadataImport((IntPtr)0, null);
304
if(!(obj is
MetadataImport
))
306
return Equals((
MetadataImport
)obj);
309
private bool Equals(
MetadataImport
import)
system\reflection\module.cs (1)
998
internal
MetadataImport
MetadataImport
system\reflection\parameterinfo.cs (7)
302
MetadataImport
scope = RuntimeTypeHandle.GetMetadataImport(RuntimeMethodHandle.GetDeclaringType(methodHandle));
349
returnParameter = new RuntimeParameterInfo(sig,
MetadataImport
.EmptyImport, 0, -1, (ParameterAttributes)0, member);
361
args[i] = new RuntimeParameterInfo(sig,
MetadataImport
.EmptyImport, 0, i, (ParameterAttributes)0, member);
380
private
MetadataImport
m_scope;
473
Signature signature,
MetadataImport
scope, int tkParamDef,
477
Contract.Assert(MdToken.IsNullToken(tkParamDef) == scope.Equals(
MetadataImport
.EmptyImport));
502
m_scope =
MetadataImport
.EmptyImport;
system\reflection\propertyinfo.cs (1)
219
MetadataImport
scope = declaredType.GetRuntimeModule().MetadataImport;
system\rttype.cs (4)
991
MetadataImport
scope = RuntimeTypeHandle.GetMetadataImport(declaringType);
1193
MetadataImport
scope = ModuleHandle.GetMetadataImport(moduleHandle);
1268
MetadataImport
scope = RuntimeTypeHandle.GetMetadataImport(declaringType);
1374
MetadataImport
scope = RuntimeTypeHandle.GetMetadataImport(declaringType);
system\runtime\interopservices\attributes.cs (2)
566
MetadataImport
.GetMarshalAs(nativeType,
782
MetadataImport
scope = ModuleHandle.GetMetadataImport(method.Module.ModuleHandle.GetRuntimeModule());
system\runtimehandles.cs (2)
874
internal static
MetadataImport
GetMetadataImport(RuntimeType type)
2119
internal static
MetadataImport
GetMetadataImport(RuntimeModule module)