40 references to Int32
ILAssembler (12)
Actions\GrammarActions.CustomAttributes.Serialization.cs (2)
318CILParser.INT32_ => SerializationTypeCode.Int32, 350SerializationTypeCode.Int32 => valueBytes.Length >= 4 ? BitConverter.ToInt32(valueBytes) : 0,
PseudoCustomAttributes.Decoding.cs (1)
63SerializationTypeCode.Int32 => reader.ReadInt32(),
PseudoCustomAttributes.KnownAttributes.cs (9)
72new(name, SerializationTypeCode.Enum, SerializationTypeCode.Int32, enumName); 122new(MarshalSizeConst, SerializationTypeCode.Int32), 126new(MarshalIidParameterIndex, SerializationTypeCode.Int32), 131new(StructLayoutPack, SerializationTypeCode.Int32), 132new(StructLayoutSize, SerializationTypeCode.Int32), 167FixedArgumentTypes: [SerializationTypeCode.Int32], 176FixedArgumentTypes: [SerializationTypeCode.Int32], 193FixedArgumentTypes: [SerializationTypeCode.Int32], 197FixedArgumentTypes: [SerializationTypeCode.Int32]),
ILCompiler.MetadataTransform (2)
ILCompiler\Metadata\Transform.CustomAttribute.cs (2)
166Ecma.SerializationTypeCode.Int32 => new ConstantInt32Value { Value = valueReader.ReadInt32() }, 227Ecma.SerializationTypeCode.Int32 => new ConstantInt32Array { Value = GetCustomAttributeConstantArrayElements<int>(ref valueReader, count) },
Microsoft.CodeAnalysis (22)
MetadataReader\MetadataDecoder.cs (2)
1387case SerializationTypeCode.Int32: 1505case SerializationTypeCode.Int32:
MetadataReader\MetadataTypeCodeExtensions.cs (1)
158return SerializationTypeCode.Int32;
Symbols\Attributes\AttributeDescription.cs (19)
114new TypeHandleTargetInfo(system,"AttributeTargets", SerializationTypeCode.Int32) 115,new TypeHandleTargetInfo("System.Reflection","AssemblyNameFlags", SerializationTypeCode.Int32) 116,new TypeHandleTargetInfo(compilerServices,"MethodImplOptions", SerializationTypeCode.Int32) 117,new TypeHandleTargetInfo(interopServices,"CharSet", SerializationTypeCode.Int32) 118,new TypeHandleTargetInfo(interopServices,"LayoutKind", SerializationTypeCode.Int32) 119,new TypeHandleTargetInfo(interopServices,"UnmanagedType", SerializationTypeCode.Int32) 120,new TypeHandleTargetInfo(interopServices,"TypeLibTypeFlags", SerializationTypeCode.Int32) 121,new TypeHandleTargetInfo(interopServices,"ClassInterfaceType", SerializationTypeCode.Int32) 122,new TypeHandleTargetInfo(interopServices,"ComInterfaceType", SerializationTypeCode.Int32) 123,new TypeHandleTargetInfo(compilerServices,"CompilationRelaxations", SerializationTypeCode.Int32) 124,new TypeHandleTargetInfo("System.Diagnostics.DebuggableAttribute","DebuggingModes", SerializationTypeCode.Int32) 125,new TypeHandleTargetInfo("System.Security","SecurityCriticalScope", SerializationTypeCode.Int32) 126,new TypeHandleTargetInfo(interopServices,"CallingConvention", SerializationTypeCode.Int32) 127,new TypeHandleTargetInfo("System.Configuration.Assemblies","AssemblyHashAlgorithm", SerializationTypeCode.Int32) 128,new TypeHandleTargetInfo("System.EnterpriseServices","TransactionOption", SerializationTypeCode.Int32) 129,new TypeHandleTargetInfo("System.Security.Permissions","SecurityAction", SerializationTypeCode.Int32) 131,new TypeHandleTargetInfo("Windows.Foundation.Metadata","DeprecationType", SerializationTypeCode.Int32) 132,new TypeHandleTargetInfo("Windows.Foundation.Metadata","Platform", SerializationTypeCode.Int32) 133,new TypeHandleTargetInfo(interopServices,"ExtendedLayoutKind", SerializationTypeCode.Int32)
System.Reflection.Emit (1)
System\Reflection\Emit\CustomAttributeWrapper.cs (1)
166SerializationTypeCode.Int32 => typeof(int),
System.Reflection.Metadata (3)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (2)
255case SerializationTypeCode.Int32: 332case SerializationTypeCode.Int32:
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
839public void Int32() => WriteTypeCode(SerializationTypeCode.Int32);