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
14 references to TypeSubstitution
Microsoft.CodeAnalysis.CSharp (14)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
820
extension.
TypeSubstitution
, extension.TypeParameters, extension.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics,
FlowAnalysis\NullableWalker.cs (1)
8992
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 (6)
1991
TypeMap typeSubstitution = this.
TypeSubstitution
;
2072
TypeMap typeSubstitution = this.
TypeSubstitution
;
2339
baseInterface = @interface.
TypeSubstitution
.SubstituteNamedType(baseInterface);
2425
containingType == (object)this.OriginalDefinition ? this : this.
TypeSubstitution
.SubstituteNamedType(containingType));
2625
containingType == (object)this.OriginalDefinition ? this : this.
TypeSubstitution
.SubstituteNamedType(containingType));
2761
TypeMap typeSubstitution = this.
TypeSubstitution
;
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;