26 references to PlatformType
Microsoft.CodeAnalysis (22)
CodeGen\ArrayMembers.cs (3)
151=> context.Module.GetPlatformType(Cci.PlatformType.SystemVoid, context); 195=> context.Module.GetPlatformType(Cci.PlatformType.SystemVoid, context); 259=> context.Module.GetPlatformType(Cci.PlatformType.SystemInt32, context);
CodeGen\PermissionSetAttribute.cs (2)
66Cci.ITypeReference stringType = context.Module.GetPlatformType(Cci.PlatformType.SystemString, context); 76Debug.Assert(context.Module.IsPlatformType(fileArg.Type, Cci.PlatformType.SystemString));
Emit\CommonPEModuleBuilder.cs (4)
159public abstract Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context); 160public abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType); 1064public sealed override Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context) 1070case Cci.PlatformType.SystemType:
Emit\NoPia\VtblGap.cs (1)
257return context.Module.GetPlatformType(Cci.PlatformType.SystemVoid, context);
PEWriter\MetadataWriter.cs (10)
3454else if (module.IsPlatformType(type, PlatformType.SystemObject)) 3473Debug.Assert(this.module.IsPlatformType(targetType, PlatformType.SystemObject)); 3503if (this.module.IsPlatformType(targetType, PlatformType.SystemObject)) 3511this.module.IsPlatformType(c.Type, PlatformType.SystemObject)) 3533Debug.Assert(!module.IsPlatformType(c.Type, PlatformType.SystemType) || c.Value == null); 3731if (module.IsPlatformType(returnType, PlatformType.SystemVoid)) 3769if (module.IsPlatformType(typeReference, PlatformType.SystemTypedReference)) 3841if (module.IsPlatformType(typeReference, PlatformType.SystemObject)) 3970if (module.IsPlatformType(elementType, PlatformType.SystemObject)) 3993else if (module.IsPlatformType(typeReference, PlatformType.SystemType))
PEWriter\MetadataWriter.PortablePdb.cs (1)
226else if (this.module.IsPlatformType(type, PlatformType.SystemObject))
PEWriter\RootModuleStaticConstructor.cs (1)
122public ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(PlatformType.SystemVoid, context);
Microsoft.CodeAnalysis.CSharp (2)
Emitter\Model\PEModuleBuilder.cs (2)
825public sealed override bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType) 830if (platformType == Cci.PlatformType.SystemType)
Microsoft.CodeAnalysis.VisualBasic (2)
Emit\PEModuleBuilder.vb (2)
614Public NotOverridable Overrides Function IsPlatformType(typeRef As Cci.ITypeReference, platformType As Cci.PlatformType) As Boolean 618If platformType = Cci.PlatformType.SystemType Then