16 overrides of ConstructedFrom
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
191public sealed override NamedTypeSymbol ConstructedFrom
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
225public sealed override NamedTypeSymbol ConstructedFrom
Symbols\ConstructedNamedTypeSymbol.cs (2)
38public override NamedTypeSymbol ConstructedFrom 80public override NamedTypeSymbol ConstructedFrom
Symbols\ErrorTypeSymbol.cs (1)
348public override NamedTypeSymbol ConstructedFrom
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
598public override NamedTypeSymbol ConstructedFrom
Symbols\NativeIntegerTypeSymbol.cs (1)
40public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
93public override NamedTypeSymbol ConstructedFrom
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5419public sealed override NamedTypeSymbol ConstructedFrom
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
124public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
801public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\SynthesizedContainer.cs (1)
92public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
62public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
88public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
49public override NamedTypeSymbol ConstructedFrom => this;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
42public override NamedTypeSymbol ConstructedFrom => this;
28 references to ConstructedFrom
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder_Expressions.cs (1)
8103var namedType = ((NamedTypeSymbol)type).ConstructedFrom;
Binder\Binder_Lookup.cs (1)
1774Debug.Assert(object.ReferenceEquals(namedType.ConstructedFrom, namedType));
BoundTree\UnboundLambda.cs (3)
309taskType = delegateReturnType.ConstructedFrom; 1034Debug.Assert(taskLikeReturnTypeOpt is null || ((object)taskLikeReturnTypeOpt == taskLikeReturnTypeOpt.ConstructedFrom && taskLikeReturnTypeOpt.IsCustomTaskType(out var builderArgument))); 1126taskLikeReturnTypeOpt = delegateReturnType.ConstructedFrom;
Compilation\CSharpCompilation.cs (2)
2183if (!(TypeSymbol.Equals(namedType.ConstructedFrom, GetWellKnownType(WellKnownType.System_Threading_Tasks_Task), TypeCompareKind.ConsiderEverything2) || 2184TypeSymbol.Equals(namedType.ConstructedFrom, GetWellKnownType(WellKnownType.System_Threading_Tasks_Task_T), TypeCompareKind.ConsiderEverything2)))
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
190if (!_inParameterOrReturnType && TypeSymbol.Equals(symbol, symbol.ConstructedFrom, TypeCompareKind.AllIgnoreOptions))
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (2)
265returnType = returnType.ConstructedFrom.Construct(resultType); 288builderType = builderType.ConstructedFrom.Construct(resultType);
Symbols\AbstractTypeMap.cs (2)
27Debug.Assert((object)previous.ConstructedFrom == (object)previous); 57NamedTypeSymbol oldConstructedFrom = previous.ConstructedFrom;
Symbols\ConstraintsHelper.cs (2)
1343if (conversions.HasBoxingConversion(typeArgument.Type.IsNullableType() ? ((NamedTypeSymbol)typeArgument.Type).ConstructedFrom : typeArgument.Type, 1567Debug.Assert(!type.ConstructedFrom.Equals(type, TypeCompareKind.ConsiderEverything));
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
262return namedType.ConstructedFrom.Construct(transformedTypeArguments, unbound: false).WithTupleDataFrom(namedType);
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
286decodedType = type.ConstructedFrom.Construct(decodedArgs, unbound: false);
Symbols\NamedTypeSymbol.cs (3)
853var thisIsNotConstructed = ReferenceEquals(ConstructedFrom, this); 854var otherIsNotConstructed = ReferenceEquals(other.ConstructedFrom, other); 1189if (!ReferenceEquals(this, ConstructedFrom))
Symbols\PublicModel\NamedTypeSymbol.cs (1)
127return UnderlyingNamedTypeSymbol.ConstructedFrom.GetPublicSymbol();
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
499Debug.Assert(originalDefinition.Arity == 0 || !ReferenceEquals(type.ConstructedFrom, type));
Symbols\SubstitutedNamedTypeSymbol.cs (1)
65Debug.Assert(ReferenceEquals(constructedFrom.ConstructedFrom, constructedFrom));
Symbols\SymbolExtensions.cs (1)
205return ((NamedTypeSymbol)symbol).ConstructedFrom;
Symbols\TypeMap.cs (1)
141Debug.Assert(TypeSymbol.Equals(oldOwner.ConstructedFrom, oldOwner, TypeCompareKind.ConsiderEverything2));
Symbols\TypeSymbolExtensions.cs (4)
1593if ((object)type.ConstructedFrom != (object)type) 1852if ((object)namedType.ConstructedFrom == compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task_T)) 1866return (object)namedType.ConstructedFrom == compilation.GetWellKnownType(WellKnownType.System_Collections_Generic_IAsyncEnumerable_T); 1876return (object)namedType.ConstructedFrom == compilation.GetWellKnownType(WellKnownType.System_Collections_Generic_IAsyncEnumerator_T);