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