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