2 overrides of ConstructedFrom
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\SourceMethodSymbol.vb (1)
590
Public NotOverridable Overrides ReadOnly Property
ConstructedFrom
As MethodSymbol
Symbols\SubstitutedMethodSymbol.vb (1)
150
Public MustOverride Overrides ReadOnly Property
ConstructedFrom
As MethodSymbol
46 references to ConstructedFrom
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\Binder_Delegates.vb (1)
1084
Dim unconstructedTargetMethod As MethodSymbol = targetMethod.
ConstructedFrom
Binding\Binder_Lookup.vb (1)
245
sym = DirectCast(sym, MethodSymbol).
ConstructedFrom
Emit\MethodSymbolAdapter.vb (4)
30
If Not AdaptedMethodSymbol.IsDefinition AndAlso AdaptedMethodSymbol.IsGenericMethod AndAlso AdaptedMethodSymbol IsNot AdaptedMethodSymbol.
ConstructedFrom
Then
42
If Not AdaptedMethodSymbol.IsDefinition AndAlso (Not AdaptedMethodSymbol.IsGenericMethod OrElse AdaptedMethodSymbol Is AdaptedMethodSymbol.
ConstructedFrom
) Then
74
If AdaptedMethodSymbol.IsGenericMethod AndAlso AdaptedMethodSymbol IsNot AdaptedMethodSymbol.
ConstructedFrom
Then
226
Dim methodSymbol As MethodSymbol = AdaptedMethodSymbol.
ConstructedFrom
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (2)
65
method = method.
ConstructedFrom
()
99
Debug.Assert(wrappedMethod.
ConstructedFrom
() Is method)
Semantics\TypeInference\TypeArgumentInference.vb (2)
37
Debug.Assert(candidate Is candidate.
ConstructedFrom
)
2289
Dim partialSubstitution = TypeSubstitution.CreateAdditionalMethodTypeParameterSubstitution(methodSymbol.
ConstructedFrom
, typeArguments.ToImmutableAndFree())
Symbols\ConstraintsHelper.vb (1)
1183
Debug.Assert(method.
ConstructedFrom
<> method)
Symbols\MethodSymbol.vb (3)
318
If Me.IsOverrides AndAlso Me.
ConstructedFrom
Is Me Then
566
If Not CanConstruct OrElse Me IsNot
ConstructedFrom
Then
882
Return Me.
ConstructedFrom
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
889
Debug.Assert(method Is method.
ConstructedFrom
)
953
Debug.Assert(method Is method.
ConstructedFrom
)
Symbols\Source\OverrideHidingHelper.vb (1)
621
Debug.Assert(Not (TypeOf overridingSym Is MethodSymbol AndAlso DirectCast(DirectCast(overridingSym, Symbol), MethodSymbol).
ConstructedFrom
<> overridingSym))
Symbols\Tuples\TupleMethodSymbol.vb (7)
34
Return Me._underlyingMethod.
ConstructedFrom
46
Return Me._containingType.GetTupleMemberSymbolForUnderlyingMember(Of Symbol)(Me._underlyingMethod.
ConstructedFrom
.AssociatedSymbol)
58
Return Me._underlyingMethod.
ConstructedFrom
.ExplicitInterfaceImplementations
108
Debug.Assert(underlyingMethod.
ConstructedFrom
Is underlyingMethod)
138
Return Me._underlyingMethod.
ConstructedFrom
.GetHashCode()
147
(other IsNot Nothing AndAlso TypeSymbol.Equals(Me._containingType, other._containingType, TypeCompareKind.ConsiderEverything) AndAlso Me._underlyingMethod.
ConstructedFrom
= other._underlyingMethod.
ConstructedFrom
)
Symbols\TypeSubstitution.vb (2)
564
DirectCast(targetGenericDefinition, MethodSymbol).
ConstructedFrom
Is targetGenericDefinition AndAlso
633
targetMethod.
ConstructedFrom
Is targetMethod)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
CodeGen\CodeGenTuples.vb (2)
16403
Assert.Same(m1ToString, m1ToString.
ConstructedFrom
)
16406
Assert.Same(m1ToString.TupleUnderlyingMethod, m1ToString.TupleUnderlyingMethod.
ConstructedFrom
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (18)
SymbolsTests\InstantiatingGenerics.vb (10)
49
constructedFrom = method.
ConstructedFrom
50
constructedFromTypeParameters = method.
ConstructedFrom
.TypeParameters
51
constructedFromTypeArguments = method.
ConstructedFrom
.TypeArguments
53
constructedFromConstructedFrom = method.
ConstructedFrom
.
ConstructedFrom
180
Assert.Equal(method.
ConstructedFrom
.Arity, method.OriginalDefinition.Arity)
181
Assert.Equal(method.Arity, method.
ConstructedFrom
.Arity)
182
Assert.Equal(method.Arity = 0, method.
ConstructedFrom
Is method)
184
Assert.Same(method.OriginalDefinition.IsExtensionMethod, method.
ConstructedFrom
.IsExtensionMethod)
185
Assert.Same(method.
ConstructedFrom
.IsExtensionMethod, method.IsExtensionMethod)
SymbolsTests\Source\MethodTests.vb (8)
686
Assert.Same(m1, m1.
ConstructedFrom
)
701
Assert.Same(m1, alphaConstructedM1.
ConstructedFrom
)
709
Assert.Same(m1, alphaConstructedM1.
ConstructedFrom
)
716
Assert.Same(m1, alphaConstructedM1.
ConstructedFrom
)
743
Assert.Same(m3, alphaConstructedM3.
ConstructedFrom
)
753
Assert.Same(m1, m1.
ConstructedFrom
)
763
Assert.Same(m1, constructedM1.
ConstructedFrom
)
776
Assert.Same(m1, identityM1.
ConstructedFrom
)