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