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