27 references to PlatformType
Microsoft.CodeAnalysis (25)
CodeGen\ArrayMembers.cs (3)
152
=> context.Module.GetPlatformType(Cci.
PlatformType
.SystemVoid, context);
196
=> context.Module.GetPlatformType(Cci.
PlatformType
.SystemVoid, context);
260
=> 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));
CodeGen\PrivateImplementationDetails.cs (3)
806
return context.Module.GetPlatformType(Cci.
PlatformType
.SystemString, context);
1220
public override Cci.ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(Cci.
PlatformType
.SystemString, context);
1244
public override Cci.ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(Cci.
PlatformType
.SystemInt32, context);
Emit\CommonPEModuleBuilder.cs (4)
223
public abstract Cci.ITypeReference GetPlatformType(Cci.
PlatformType
platformType, EmitContext context);
224
public abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.
PlatformType
platformType);
1178
public sealed override Cci.ITypeReference GetPlatformType(Cci.
PlatformType
platformType, EmitContext context)
1184
case Cci.
PlatformType
.SystemType:
Emit\NoPia\VtblGap.cs (1)
257
return context.Module.GetPlatformType(Cci.
PlatformType
.SystemVoid, context);
PEWriter\MetadataWriter.cs (10)
3516
else if (module.IsPlatformType(type,
PlatformType
.SystemObject))
3535
Debug.Assert(this.module.IsPlatformType(targetType,
PlatformType
.SystemObject));
3565
if (this.module.IsPlatformType(targetType,
PlatformType
.SystemObject))
3573
this.module.IsPlatformType(c.Type,
PlatformType
.SystemObject))
3595
Debug.Assert(!module.IsPlatformType(c.Type,
PlatformType
.SystemType) || c.Value == null);
3793
if (module.IsPlatformType(returnType,
PlatformType
.SystemVoid))
3831
if (module.IsPlatformType(typeReference,
PlatformType
.SystemTypedReference))
3903
if (module.IsPlatformType(typeReference,
PlatformType
.SystemObject))
4032
if (module.IsPlatformType(elementType,
PlatformType
.SystemObject))
4055
else if (module.IsPlatformType(typeReference,
PlatformType
.SystemType))
PEWriter\MetadataWriter.PortablePdb.cs (1)
226
else if (this.module.IsPlatformType(type,
PlatformType
.SystemObject))
PEWriter\MethodDefinitionBase.cs (1)
123
public virtual ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(
PlatformType
.SystemVoid, context);
Microsoft.CodeAnalysis.CSharp (2)
Emitter\Model\PEModuleBuilder.cs (2)
843
public sealed override bool IsPlatformType(Cci.ITypeReference typeRef, Cci.
PlatformType
platformType)
848
if (platformType == Cci.
PlatformType
.SystemType)