Ejemplo n.º 1
0
        protected SourceTypeParameterSymbolBase(string name, int ordinal, NullabilityPreservationKind preservationKind, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs)
        {
            Debug.Assert(!syntaxRefs.IsEmpty);

            _name = name;
            _ordinal = (short)ordinal;
            _preservationKind = preservationKind;
            _locations = locations;
            _syntaxRefs = syntaxRefs;
        }
Ejemplo n.º 2
0
 public SourceOverridingMethodTypeParameterSymbol(OverriddenMethodTypeParameterMapBase map, string name, int ordinal, NullabilityPreservationKind preservationKind, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs)
     : base(name, ordinal, preservationKind, locations, syntaxRefs)
 {
     _map = map;
 }
Ejemplo n.º 3
0
 public SourceMethodTypeParameterSymbol(SourceMemberMethodSymbol owner, string name, int ordinal, NullabilityPreservationKind preservationKind, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs)
     : base(name, ordinal, preservationKind, locations, syntaxRefs)
 {
     _owner = owner;
 }
Ejemplo n.º 4
0
 public SourceTypeParameterSymbol(SourceNamedTypeSymbol owner, string name, int ordinal, VarianceKind varianceKind, NullabilityPreservationKind preservationKind, ImmutableArray<Location> locations, ImmutableArray<SyntaxReference> syntaxRefs)
     : base(name, ordinal, preservationKind, locations, syntaxRefs)
 {
     _owner = owner;
     _varianceKind = varianceKind;
 }