protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) => throw new NotImplementedException();
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) => throw ExceptionUtilities.Unreachable;
internal ConstructedNamedTypeSymbol(NamedTypeSymbol constructedFrom, ImmutableArray <TypeWithAnnotations> typeArgumentsWithAnnotations, bool unbound = false, TupleExtraData tupleData = null) : base(newContainer: constructedFrom.ContainingSymbol, map: new TypeMap(constructedFrom.ContainingType, constructedFrom.OriginalDefinition.TypeParameters, typeArgumentsWithAnnotations), originalDefinition: constructedFrom.OriginalDefinition, constructedFrom: constructedFrom, unbound: unbound, tupleData: tupleData) { _typeArgumentsWithAnnotations = typeArgumentsWithAnnotations; _constructedFrom = constructedFrom; Debug.Assert(constructedFrom.Arity == typeArgumentsWithAnnotations.Length); Debug.Assert(constructedFrom.Arity != 0); }
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return(new ConstructedErrorTypeSymbol(_constructedFrom, _typeArgumentsWithAnnotations, tupleData: newData)); }
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return(new UnboundArgumentErrorTypeSymbol(_name, _errorInfo, newData)); }
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return(new NoPiaIllegalGenericInstantiationSymbol(_exposingModule, _underlyingSymbol)); }
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return(new RetargetingNamedTypeSymbol(_retargetingModule, _underlyingType, newData)); }
public RetargetingNamedTypeSymbol(RetargetingModuleSymbol retargetingModule, NamedTypeSymbol underlyingType, TupleExtraData tupleData = null) : base(underlyingType, tupleData) { Debug.Assert((object)retargetingModule != null); Debug.Assert(!(underlyingType is RetargetingNamedTypeSymbol)); _retargetingModule = retargetingModule; }
protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return(new NoPiaMissingCanonicalTypeSymbol(_embeddingAssembly, _fullTypeName, _guid, _scope, _identifier, newData)); }