12 references to SubstituteType
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AbstractTypeMap.cs (5)
67
var newArgument = oldArgument.
SubstituteType
(this);
130
return previous.
SubstituteType
(this);
187
TypeWithAnnotations element = oldElement.
SubstituteType
(this);
230
var pointedAtType = oldPointedAtType.
SubstituteType
(this);
241
var substitutedReturnType = f.Signature.ReturnTypeWithAnnotations.
SubstituteType
(this);
Symbols\MemberSignatureComparer.cs (1)
836
return typeMap == null ? typeSymbol : typeSymbol.
SubstituteType
(typeMap);
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (2)
260
var substituted = candidateParam.TypeWithAnnotations.
SubstituteType
(candidateMethodTypeMap);
288
var substituted = candidateMethodType.
SubstituteType
(candidateMethodTypeMap);
Symbols\NativeIntegerTypeSymbol.cs (1)
238
internal TypeWithAnnotations SubstituteUnderlyingType(TypeWithAnnotations type) => type.
SubstituteType
(GetTypeMap());
Symbols\TypeUnification.cs (3)
49
type = type.
SubstituteType
(substitution);
88
t1 = t1.
SubstituteType
(substitution);
89
t2 = t2.
SubstituteType
(substitution);