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