3 overrides of TypeSubstitution
Microsoft.CodeAnalysis.CSharp (3)
Symbols\ErrorTypeSymbol.cs (2)
710
internal override TypeMap
TypeSubstitution
749
internal override TypeMap
TypeSubstitution
Symbols\SubstitutedNamedTypeSymbol.cs (1)
434
internal sealed override TypeMap
TypeSubstitution
15 references to TypeSubstitution
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (6)
130
match = match.OriginalDefinition.AsMember(inputUnionType.
TypeSubstitution
.SubstituteNamedType(match.ContainingType));
156
possiblyConstructedOrSubstitutedType = inputUnionType.
TypeSubstitution
.SubstituteNamedType(declaringType);
264
possiblyConstructedOrSubstitutedType = inputUnionType.
TypeSubstitution
.SubstituteNamedType(declaringType);
293
possiblyConstructedOrSubstitutedType = inputUnionType.
TypeSubstitution
.SubstituteNamedType(declaringType);
442
(unionType.IsDefinition ? container : unionType.
TypeSubstitution
.SubstituteNamedType(container)).Equals(method.ContainingType, TypeCompareKind.AllIgnoreOptions))
482
possiblyConstructedOrSubstitutedType = unionType.
TypeSubstitution
.SubstituteNamedType(container);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
820
extension.
TypeSubstitution
, extension.TypeParameters, extension.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics,
FlowAnalysis\NullableWalker.cs (1)
9006
extension.
TypeSubstitution
, extension.TypeParameters, extension.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics,
Symbols\ConstraintsHelper.cs (3)
851
type.
TypeSubstitution
,
936
&& extension.
TypeSubstitution
is not null)
939
extension.
TypeSubstitution
, extension.TypeParameters, extension.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics,
Symbols\ErrorTypeSymbol.cs (1)
726
_map = containingSymbol.
TypeSubstitution
.WithAlphaRename(originalDefinition, this, out _typeParameters);
Symbols\NamedTypeSymbol.cs (1)
1961
constructedOrSubstitutedBaseInterface = this.
TypeSubstitution
.SubstituteNamedType(baseInterfaceForDefinition);
Symbols\SubstitutedMethodSymbol.cs (1)
42
: this(containingSymbol, containingSymbol.
TypeSubstitution
, originalDefinition, constructedFrom: null)
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
45
var typeMap = interfaceMethod.ContainingType.
TypeSubstitution
?? TypeMap.Empty;