23 references to PlatformType
Microsoft.CodeAnalysis (23)
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));
CodeGen\PrivateImplementationDetails.cs (1)
805return context.Module.GetPlatformType(Cci.PlatformType.SystemString, context);
Emit\CommonPEModuleBuilder.cs (4)
174public abstract Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context); 175public abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType); 1132public sealed override Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context) 1138case Cci.PlatformType.SystemType:
Emit\NoPia\VtblGap.cs (1)
256return context.Module.GetPlatformType(Cci.PlatformType.SystemVoid, context);
PEWriter\MetadataWriter.cs (10)
3503else if (module.IsPlatformType(type, PlatformType.SystemObject)) 3522Debug.Assert(this.module.IsPlatformType(targetType, PlatformType.SystemObject)); 3552if (this.module.IsPlatformType(targetType, PlatformType.SystemObject)) 3560this.module.IsPlatformType(c.Type, PlatformType.SystemObject)) 3582Debug.Assert(!module.IsPlatformType(c.Type, PlatformType.SystemType) || c.Value == null); 3780if (module.IsPlatformType(returnType, PlatformType.SystemVoid)) 3818if (module.IsPlatformType(typeReference, PlatformType.SystemTypedReference)) 3890if (module.IsPlatformType(typeReference, PlatformType.SystemObject)) 4019if (module.IsPlatformType(elementType, PlatformType.SystemObject)) 4042else if (module.IsPlatformType(typeReference, PlatformType.SystemType))
PEWriter\MetadataWriter.PortablePdb.cs (1)
226else if (this.module.IsPlatformType(type, PlatformType.SystemObject))
PEWriter\MethodDefinitionBase.cs (1)
122public virtual ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(PlatformType.SystemVoid, context);