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