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