17 references to SubstituteType
Microsoft.CodeAnalysis.CSharp (17)
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)
123
this.TypeMap.
SubstituteType
(p.OriginalDefinition.TypeWithAnnotations),
189
get { return this.TypeMap.
SubstituteType
(this.BaseMethod.OriginalDefinition.ReturnTypeWithAnnotations); }
Symbols\AbstractTypeMap.cs (2)
331
result.Add(
SubstituteType
(t));
394
TypeWithAnnotations substituted =
SubstituteType
(type);
Symbols\Extensions\RewrittenMethodSymbol.cs (3)
44
get { return _typeMap.
SubstituteType
(_originalMethod.ReturnTypeWithAnnotations); }
55
return _typeMap.
SubstituteType
(iteratorElementTypeWithAnnotations);
131
get { return _containingMethod._typeMap.
SubstituteType
(this._underlyingParameter.TypeWithAnnotations); }
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)
234
var returnType = Map.
SubstituteType
(OriginalDefinition.ReturnTypeWithAnnotations);
Symbols\SubstitutedParameterSymbol.cs (1)
60
TypeWithAnnotations substituted = ((TypeMap)mapOrType).
SubstituteType
(this._underlyingParameter.TypeWithAnnotations);
Symbols\SubstitutedPropertySymbol.cs (1)
31
var type = _containingType.TypeSubstitution.
SubstituteType
(OriginalDefinition.TypeWithAnnotations);