18 references to GetRuntimeModule
mscorlib (18)
system\reflection\customattribute.cs (6)
73
IList<CustomAttributeData> cad = GetCustomAttributes(target.
GetRuntimeModule
(), target.MetadataToken);
1197
if (IsCustomAttributeDefined(type.
GetRuntimeModule
(), type.MetadataToken, caType))
1207
if (IsCustomAttributeDefined(type.
GetRuntimeModule
(), type.MetadataToken, caType, 0, inherit))
1348
object[] attributes = GetCustomAttributes(type.
GetRuntimeModule
(), type.MetadataToken, pcaCount, caType, !AllowCriticalCustomAttributes(type));
1363
object[] attributes = GetCustomAttributes(type.
GetRuntimeModule
(), type.MetadataToken, 0, caType, mustBeInheritable, result, !AllowCriticalCustomAttributes(type));
2014
RuntimeModule decoratedModule = decoratedAttribute.
GetRuntimeModule
();
system\reflection\emit\dynamicmethod.cs (1)
411
m_module = rtOwner.
GetRuntimeModule
();
system\reflection\eventinfo.cs (2)
258
MetadataImport scope = declaredType.
GetRuntimeModule
().MetadataImport;
376
internal RuntimeModule GetRuntimeModule() { return m_declaringType.
GetRuntimeModule
(); }
system\reflection\fieldinfo.cs (1)
884
internal override RuntimeModule GetRuntimeModule() { return m_declaringType.
GetRuntimeModule
(); }
system\reflection\methodinfo.cs (1)
561
internal RuntimeModule GetRuntimeModule() { return m_declaringType.
GetRuntimeModule
(); }
system\reflection\propertyinfo.cs (2)
219
MetadataImport scope = declaredType.
GetRuntimeModule
().MetadataImport;
453
internal RuntimeModule GetRuntimeModule() { return m_declaringType.
GetRuntimeModule
(); }
system\rttype.cs (4)
1398
Contract.Assert(!filter.Match(declaringType.
GetRuntimeModule
().MetadataImport.GetName(tkProperty)));
1403
name = declaringType.
GetRuntimeModule
().MetadataImport.GetName(tkProperty);
2686
!CustomAttribute.IsAttributeDefined(
GetRuntimeModule
(), MetadataToken, ctorToken))
3546
return
GetRuntimeModule
();
system\runtime\interopservices\attributes.cs (1)
897
type.
GetRuntimeModule
().MetadataImport.GetClassLayout(type.MetadataToken, out pack, out size);