16 references to Int32
System.Reflection.MetadataLoadContext (16)
System\Reflection\MetadataLoadContext.KnownConstructors.cs (1)
11
internal ConstructorInfo? TryGetFieldOffsetCtor() => _lazyFieldOffset ??= TryGetConstructor(CoreType.FieldOffsetAttribute, CoreType.
Int32
);
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (3)
96
ct[CoreType.
Int32
] == null)
117
attributeType.ToCustomAttributeNamedArgument(nameof(MarshalAsAttribute.IidParameterIndex), ct[CoreType.
Int32
], ma.IidParameterIndex),
119
attributeType.ToCustomAttributeNamedArgument(nameof(MarshalAsAttribute.SizeConst), ct[CoreType.
Int32
], ma.SizeConst),
System\Reflection\TypeLoading\Fields\RoField.cs (1)
60
Type int32Type = Loader.GetCoreType(CoreType.
Int32
); // Since we got the constructor, we know the Int32 exists.
System\Reflection\TypeLoading\General\Assignability.cs (1)
265
return coreTypes[CoreType.
Int32
] ?? throw new TypeLoadException(SR.Format(SR.CoreTypeNotFound, "System.Int32"));
System\Reflection\TypeLoading\General\CoreType.cs (1)
92
case CoreType.
Int32
: ns = Utf8Constants.System; name = Utf8Constants.Int32; return;
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (3)
121
if (cats[2].ArgumentType == ct[CoreType.
Int32
] && cats[3].ArgumentType == ct[CoreType.
Int32
] && cats[4].ArgumentType == ct[CoreType.
Int32
])
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (2)
40
case PrimitiveTypeCode.Int32: return CoreType.
Int32
;
68
if (type == coreTypes[CoreType.
Int32
]) return PrimitiveTypeCode.Int32;
System\Reflection\TypeLoading\Types\RoArrayType.cs (2)
79
RoType systemInt32 = Loader.GetCoreType(CoreType.
Int32
);
156
RoType systemInt32 = Loader.GetCoreType(CoreType.
Int32
);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
203
if (t == ct[CoreType.
Int32
])
System\Reflection\TypeLoading\Types\RoType.TypeClassification.cs (1)
93
CoreType.
Int32
,