14 references to SubstituteType
Microsoft.CodeAnalysis.CSharp (14)
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
35
var elementType = TypeMap.
SubstituteType
(asyncMethod.IteratorElementTypeWithAnnotations).Type;
Lowering\ClosureConversion\ClosureConversion.cs (1)
992
newTypeArg = this.TypeMap.
SubstituteType
(oldTypeArg);
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
29
this.ElementType = TypeMap.
SubstituteType
(elementType);
Lowering\SynthesizedMethodBaseSymbol.cs (2)
139
this.TypeMap.
SubstituteType
(p.OriginalDefinition.TypeWithAnnotations),
205
get { return this.TypeMap.
SubstituteType
(this.BaseMethod.OriginalDefinition.ReturnTypeWithAnnotations); }
Symbols\AbstractTypeMap.cs (2)
331
result.Add(
SubstituteType
(t));
394
TypeWithAnnotations substituted =
SubstituteType
(type);
Symbols\ReducedExtensionMethodSymbol.cs (2)
494
get { return _typeMap.
SubstituteType
(_reducedFrom.ReturnTypeWithAnnotations); }
640
get { return _containingMethod._typeMap.
SubstituteType
(this._underlyingParameter.TypeWithAnnotations); }
Symbols\SubstitutedEventSymbol.cs (1)
30
var type = _containingType.TypeSubstitution.
SubstituteType
(OriginalDefinition.TypeWithAnnotations);
Symbols\SubstitutedFieldSymbol.cs (1)
31
var type = _containingType.TypeSubstitution.
SubstituteType
(OriginalDefinition.GetFieldType(fieldsBeingBound));
Symbols\SubstitutedMethodSymbol.cs (1)
233
var returnType = Map.
SubstituteType
(OriginalDefinition.ReturnTypeWithAnnotations);
Symbols\SubstitutedParameterSymbol.cs (1)
55
TypeWithAnnotations substituted = ((TypeMap)mapOrType).
SubstituteType
(this._underlyingParameter.TypeWithAnnotations);
Symbols\SubstitutedPropertySymbol.cs (1)
31
var type = _containingType.TypeSubstitution.
SubstituteType
(OriginalDefinition.TypeWithAnnotations);