19 references to SubstituteType
Microsoft.CodeAnalysis.CSharp (15)
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
35
var elementType = TypeMap.
SubstituteType
(asyncMethod.IteratorElementTypeWithAnnotations).Type;
Lowering\ClosureConversion\ClosureConversion.cs (1)
977
newTypeArg = this.TypeMap.
SubstituteType
(oldTypeArg);
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
29
this.ElementType = TypeMap.
SubstituteType
(elementType);
Lowering\SynthesizedMethodBaseSymbol.cs (2)
135
this.TypeMap.
SubstituteType
(p.OriginalDefinition.TypeWithAnnotations),
206
get { return this.TypeMap.
SubstituteType
(this.BaseMethod.OriginalDefinition.ReturnTypeWithAnnotations); }
Symbols\AbstractTypeMap.cs (2)
330
result.Add(
SubstituteType
(t));
393
TypeWithAnnotations substituted =
SubstituteType
(type);
Symbols\MemberSignatureComparer.cs (1)
708
result.Add(typeMap.
SubstituteType
(type).Type);
Symbols\ReducedExtensionMethodSymbol.cs (2)
486
get { return _typeMap.
SubstituteType
(_reducedFrom.ReturnTypeWithAnnotations); }
622
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);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (4)
Symbols\DisplayClassVariable.cs (1)
106
return new EEDisplayClassFieldSymbol(typeMap.SubstituteNamedType(field.ContainingType), field.Name, typeMap.
SubstituteType
(field.TypeWithAnnotations));
Symbols\EELocalConstantSymbol.cs (1)
43
var type = typeMap.
SubstituteType
(_type);
Symbols\EELocalSymbol.cs (1)
75
var type = typeMap.
SubstituteType
(_type);
Symbols\EELocalSymbolBase.cs (1)
25
var type = typeMap.
SubstituteType
(local.TypeWithAnnotations);