public TopLevelWithCustomErrorInfo(ModuleSymbol module, ref MetadataTypeName emittedName, DiagnosticInfo errorInfo, WellKnownType typeId) : base(module, ref emittedName, typeId) { Debug.Assert(errorInfo != null); _errorInfo = errorInfo; }
/// <summary> /// Create a NamespaceExtent that represents a given ModuleSymbol. /// </summary> internal NamespaceExtent(ModuleSymbol module) { _kind = NamespaceKind.Module; _symbolOrCompilation = module; }
private TopLevel(ModuleSymbol module, ref MetadataTypeName fullName, int typeId) : this(module, ref fullName, fullName.ForcedArity == -1 || fullName.ForcedArity == fullName.InferredArity) { Debug.Assert(typeId == -1 || typeId == (int)SpecialType.None || Arity == 0 || MangleName); _lazyTypeId = typeId; }
public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName, WellKnownType wellKnownType) : this(module, ref fullName, (int)wellKnownType) { }
public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName, SpecialType specialType) : this(module, ref fullName, (int)specialType) { }
public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName) : this(module, ref fullName, -1) { }
internal ErrorTypeSymbol CreateMultipleForwardingErrorTypeSymbol(ref MetadataTypeName emittedName, ModuleSymbol forwardingModule, AssemblySymbol destination1, AssemblySymbol destination2) { var diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_TypeForwardedToMultipleAssemblies, forwardingModule, this, emittedName.FullName, destination1, destination2); return(new MissingMetadataTypeSymbol.TopLevelWithCustomErrorInfo(forwardingModule, ref emittedName, diagnosticInfo)); }