Base:
property
Module
Internal.TypeSystem.MetadataType.Module
67 references to Module
ILCompiler.Compiler (22)
Compiler\CustomAttributeExtensions.cs (4)
24return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(ecmaType.Module)); 37yield return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(ecmaType.Module)); 53return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(ecmaType.Module)); 66yield return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(ecmaType.Module));
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (5)
63AddDependenciesDueToCustomAttributes(ref dependencies, GetMetadataApiDependency(factory, "TypeDefinition"u8), factory, type.Module, typeDef.GetCustomAttributes(), type); 70AddDependenciesDueToCustomAttributes(ref dependencies, genericParameterCondition, factory, type.Module, parameter.GetCustomAttributes(), type); 82AddDependenciesDueToCustomAttributes(ref dependencies, GetMetadataApiDependency(factory, "Property"u8), factory, property.OwningType.Module, property.GetCustomAttributes, property); 87AddDependenciesDueToCustomAttributes(ref dependencies, GetMetadataApiDependency(factory, "Event"u8), factory, @event.OwningType.Module, @event.GetCustomAttributes, @event); 232MethodDesc setterMethod = (MethodDesc)attributeTypeDefinition.Module.GetObject(accessors.Setter);
Compiler\MultiFileCompilationModuleGroup.cs (1)
32if (!IsModuleInCompilationGroup(ecmaType.Module))
Compiler\UsageBasedMetadataManager.cs (1)
801var moduleInfo = _linkAttributesHashTable.GetOrCreateValue(ecmaType.Module);
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (3)
28return adder.IsNil ? null : _type.Module.GetMethod(adder); 37return setter.IsNil ? null : _type.Module.GetMethod(setter); 46return raiser.IsNil ? null : _type.Module.GetMethod(raiser);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
220EcmaModule ownerModule = (entity as EcmaType)?.Module ?? (entity as EcmaMethod)?.Module;
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (3)
295bool isSystemModule = ecmaType.Module == ecmaType.Context.SystemModule; 297Utf8String prependAssemblyName = GetMangledAssemblyName((EcmaAssembly)ecmaType.Module); 302foreach (MetadataType t in ecmaType.Module.GetAllTypes())
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (3)
24new EcmaSignatureParser(_type.Module, _type.MetadataReader.GetBlobReader(Definition.Signature), NotFoundBehavior.Throw) 32return getter.IsNil ? null : _type.Module.GetMethod(getter); 41return setter.IsNil ? null : _type.Module.GetMethod(setter);
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
308if (ecmaMethod.OwningType.Module != ecmaMethod.Context.SystemModule)
ILCompiler.MetadataTransform (3)
ILCompiler\Metadata\Transform.Type.cs (3)
339Event evt = HandleEvent(ecmaEntity.Module, e); 346Property prop = HandleProperty(ecmaEntity.Module, property); 354record.CustomAttributes = HandleCustomAttributes(ecmaEntity.Module, customAttributes);
ILCompiler.ReadyToRun (27)
Compiler\DependencyAnalysis\ReadyToRun\ModuleTokenResolver.cs (1)
63return new ModuleToken(ecmaType.Module, (mdToken)MetadataTokens.GetToken(ecmaType.Handle));
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (4)
270if (type.Module.GetGlobalModuleType() == type && !methodDef.Attributes.HasFlag(MethodAttributes.Static)) 291if (type.Context.SystemModule != type.Module && method.IsInternalCall) 389var methodBody = type.Module.GetMethod(methodImpl.MethodBody); 390var methodDecl = type.Module.GetMethod(methodImpl.MethodDeclaration);
Compiler\ReadyToRunCompilationModuleGroupBase.cs (3)
113return type.GetTypeDefinition() is EcmaType ecmaType && IsModuleInCompilationGroup(ecmaType.Module); 549if (!versionsWithType && !usesCanon && (t.HasInstantiation && !(t is EcmaType etype && etype.Module != methodDefiningModule))) 556if (!versionsWithType && !usesCanon && (t.HasInstantiation && !(t is EcmaType etype && etype.Module != methodDefiningModule)))
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (3)
59ModuleFieldLayout moduleFieldLayout = _moduleFieldLayoutMap.GetOrCreateValue(ecmaType.Module); 117if (moduleLayout && fieldType.GetTypeDefinition() is EcmaType ecmaType && ecmaType.Module != module) 218if (moduleLayout && fieldDesc.FieldType.GetTypeDefinition() is EcmaType ecmaType && ecmaType.Module != module)
IBC\IBCProfileParser.cs (3)
359externalModule = foundType.Module; 406EcmaModule ecmaModule = ecmaType.Module; 740EcmaModule ecmaModuleOfMethod = ((EcmaType)methodMetadataType.GetTypeDefinition()).Module;
IL\ReadyToRunILProvider.cs (2)
192if (ecmaMethod.OwningType.Module != ecmaMethod.Context.SystemModule) 400public IEcmaModule Module => ((EcmaType)(_variant.OwningType)).Module;
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
1515module = ecmaType.Module;
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (3)
28return adder.IsNil ? null : _type.Module.GetMethod(adder); 37return setter.IsNil ? null : _type.Module.GetMethod(setter); 46return raiser.IsNil ? null : _type.Module.GetMethod(raiser);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
220EcmaModule ownerModule = (entity as EcmaType)?.Module ?? (entity as EcmaMethod)?.Module;
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (3)
295bool isSystemModule = ecmaType.Module == ecmaType.Context.SystemModule; 297Utf8String prependAssemblyName = GetMangledAssemblyName((EcmaAssembly)ecmaType.Module); 302foreach (MetadataType t in ecmaType.Module.GetAllTypes())
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (3)
24new EcmaSignatureParser(_type.Module, _type.MetadataReader.GetBlobReader(Definition.Signature), NotFoundBehavior.Throw) 32return getter.IsNil ? null : _type.Module.GetMethod(getter); 41return setter.IsNil ? null : _type.Module.GetMethod(setter);
ILCompiler.TypeSystem (15)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaField.cs (3)
62return _type.Module.Context; 78return _type.Module; 298EcmaSignatureParser parser = new EcmaSignatureParser(_type.Module, marshalAsReader, NotFoundBehavior.Throw);
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaField.Sorting.cs (2)
17EcmaModule module = _type.Module; 18EcmaModule otherModule = otherField._type.Module;
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (3)
70return _type.Module.Context; 106return _type.Module; 536new CustomAttributeTypeProvider(_type.Module));
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.Sorting.cs (2)
17EcmaModule module = _type.Module; 18EcmaModule otherModule = otherMethod._type.Module;
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.cs (1)
150ThrowHelper.ThrowTypeLoadException(GetNamespace(), GetName(), Module);
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.TypeEquivalence.cs (1)
31guidAttribute = this.MetadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(this.Module));
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (2)
27return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(This.Module)); 39yield return metadataReader.GetCustomAttribute(attributeHandle).DecodeValue(new CustomAttributeTypeProvider(This.Module));
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\EcmaMethodIL.cs (1)
162_module = ((EcmaType)method.OwningType).Module;