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