Cci.ITypeReference Cci.IModule.GetPlatformType(Cci.PlatformType platformType, EmitContext context) { Debug.Assert((object)this == context.Module); switch (platformType) { case Cci.PlatformType.SystemType: return(GetSystemType((TSyntaxNode)context.SyntaxNodeOpt, context.Diagnostics)); default: return(GetSpecialType((SpecialType)platformType, (TSyntaxNode)context.SyntaxNodeOpt, context.Diagnostics)); } }
public sealed override Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context) { Debug.Assert((object)this == context.Module); switch (platformType) { case Cci.PlatformType.SystemType: throw ExceptionUtilities.UnexpectedValue(platformType); default: return(GetSpecialType((SpecialType)platformType, (TSyntaxNode)context.SyntaxNode, context.Diagnostics)); } }
bool Cci.IModule.IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType) { return(IsPlatformType(typeRef, platformType)); }
protected abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType);
public abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType);
public abstract Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context);