Exemplo n.º 1
0
 public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName)
     : this(module, ref fullName, -1)
 {
 }
Exemplo n.º 2
0
 public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName, SpecialType specialType)
     : this(module, ref fullName, (int)specialType)
 {
 }
Exemplo n.º 3
0
        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.TopLevel(forwardingModule, ref emittedName, diagnosticInfo));
        }
Exemplo n.º 4
0
 internal NamespaceExtent(ModuleSymbol module)
 {
     _kind = NamespaceKind.Module;
     _symbolOrCompilation = module;
 }
Exemplo n.º 5
0
 public TopLevelWithCustomErrorInfo(ModuleSymbol module, ref MetadataTypeName emittedName, DiagnosticInfo errorInfo, WellKnownType typeId)
     : base(module, ref emittedName, typeId)
 {
     Debug.Assert(errorInfo != null);
     _errorInfo = errorInfo;
 }
Exemplo n.º 6
0
 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;
 }
Exemplo n.º 7
0
 public TopLevel(ModuleSymbol module, ref MetadataTypeName fullName, WellKnownType wellKnownType)
     : this(module, ref fullName, (int)wellKnownType)
 {
 }
 public NoPiaIllegalGenericInstantiationSymbol(ModuleSymbol exposingModule, NamedTypeSymbol underlyingSymbol)
 {
     _exposingModule   = exposingModule;
     _underlyingSymbol = underlyingSymbol;
 }
Exemplo n.º 9
0
 public TopLevelWithCustomErrorInfo(ModuleSymbol module, ref MetadataTypeName emittedName, DiagnosticInfo errorInfo)
     : base(module, ref emittedName)
 {
     Debug.Assert(errorInfo != null);
     this.errorInfo = errorInfo;
 }