1 write to Symbol
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
20
Symbol
= symbol;
20 references to Symbol
Microsoft.CSharp (20)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
322
if (typeArg is TypeParameterType typeParamArg && typeParamArg.
Symbol
.name == null)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (2)
289
TypeParameterSymbol tvs = ((TypeParameterType)type).
Symbol
;
426
TypeParameterSymbol tvs = ((TypeParameterType)typeSrc).
Symbol
;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (15)
28
public ParentSymbol OwningSymbol =>
Symbol
.parent;
30
public Name Name =>
Symbol
.name;
32
public bool Covariant =>
Symbol
.Covariant;
34
public bool Invariant =>
Symbol
.Invariant;
36
public bool Contravariant =>
Symbol
.Contravariant;
38
public override bool IsValueType =>
Symbol
.IsValueType();
40
public override bool IsReferenceType =>
Symbol
.IsReferenceType();
42
public override bool IsNonNullableValueType =>
Symbol
.IsNonNullableValueType();
44
public bool HasNewConstraint =>
Symbol
.HasNewConstraint();
46
public bool HasRefConstraint =>
Symbol
.HasRefConstraint();
48
public bool HasValConstraint =>
Symbol
.HasValConstraint();
50
public bool IsMethodTypeParameter =>
Symbol
.IsMethodTypeParameter();
52
public int IndexInOwnParameters =>
Symbol
.GetIndexInOwnParameters();
54
public int IndexInTotalParameters =>
Symbol
.GetIndexInTotalParameters();
56
public TypeArray Bounds =>
Symbol
.GetBounds();
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
315
((TypeParameterType)ctypes[i]).
Symbol
.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints())));
943
typeVar.
Symbol
.SetBounds(TypeArray.Allocate(GetCTypeArrayFromTypes(t.GetGenericParameterConstraints())));