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