Base:
property
TypeSubstitution
Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.TypeSubstitution
14 references to TypeSubstitution
Microsoft.CodeAnalysis.CSharp (14)
Lowering\MethodToClassRewriter.cs (1)
745TypeMap? typeMap = methodBeingWrapped.ContainingType is SubstitutedNamedTypeSymbol substitutedType ? substitutedType.TypeSubstitution : TypeMap.Empty;
Symbols\ConstructedNamedTypeSymbol.cs (1)
23map: newContainer.TypeSubstitution,
Symbols\SubstitutedEventSymbol.cs (2)
30var type = _containingType.TypeSubstitution.SubstituteType(OriginalDefinition.TypeWithAnnotations); 104ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementations(OriginalDefinition.ExplicitInterfaceImplementations, _containingType.TypeSubstitution),
Symbols\SubstitutedFieldSymbol.cs (3)
31var type = _containingType.TypeSubstitution.SubstituteType(OriginalDefinition.GetFieldType(fieldsBeingBound)); 103return (NamedTypeSymbol)_containingType.TypeSubstitution.SubstituteType(OriginalDefinition.FixedImplementationType(emitModule)).Type; 109_containingType.TypeSubstitution.SubstituteCustomModifiers(_underlyingField.RefCustomModifiers);
Symbols\SubstitutedNamedTypeSymbol.cs (2)
376var newBody = ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementation(body, this.TypeSubstitution); 377var newImplemented = ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementation(implemented, this.TypeSubstitution);
Symbols\SubstitutedPropertySymbol.cs (4)
31var type = _containingType.TypeSubstitution.SubstituteType(OriginalDefinition.TypeWithAnnotations); 70get { return _containingType.TypeSubstitution.SubstituteCustomModifiers(OriginalDefinition.RefCustomModifiers); } 122ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementations(OriginalDefinition.ExplicitInterfaceImplementations, _containingType.TypeSubstitution), 161substituted[i] = new SubstitutedParameterSymbol(this, _containingType.TypeSubstitution, unsubstitutedParameters[i]);
Symbols\TypeMap.cs (1)
66new SmallDictionary<TypeParameterSymbol, TypeWithAnnotations>(substituted.TypeSubstitution.Mapping, ReferenceEqualityComparer.Instance) :