3 overrides of ReducedFrom
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_XmlLiterals.vb (1)
1734
Public Overrides ReadOnly Property
ReducedFrom
As MethodSymbol
Symbols\ReducedExtensionMethodSymbol.vb (1)
286
Public Overrides ReadOnly Property
ReducedFrom
As MethodSymbol
Symbols\SubstitutedMethodSymbol.vb (1)
108
Public Overrides ReadOnly Property
ReducedFrom
As MethodSymbol
24 references to ReducedFrom
Microsoft.CodeAnalysis.VisualBasic (18)
Binding\Binder_Delegates.vb (3)
728
If targetMethodSymbol.
ReducedFrom
Is Nothing Then
752
If targetMethodSymbol.
ReducedFrom
Is Nothing Then
983
Dim reducedFromDefinition As MethodSymbol = targetMethod.
ReducedFrom
Binding\Binder_Invocation.vb (2)
766
If method.
ReducedFrom
IsNot Nothing Then
901
Dim reducedFrom = method.
ReducedFrom
Semantics\OverloadResolution.vb (8)
153
Debug.Assert(method.
ReducedFrom
Is Nothing OrElse Me.IsExtensionMethod)
247
Dim fixedTypeParameters = BitVector.Create(method.
ReducedFrom
.Arity)
262
Debug.Assert(method.
ReducedFrom
IsNot Nothing)
296
Return m_Method.
ReducedFrom
.Parameters(0).Type
906
If method.
ReducedFrom
Is Nothing Then
3584
firstSymbol = DirectCast(firstSymbol, MethodSymbol).
ReducedFrom
3599
secondSymbol = DirectCast(secondSymbol, MethodSymbol).
ReducedFrom
4825
paramForGenericityCheck = method.
ReducedFrom
.Parameters(paramIndex + 1)
Symbols\MethodSymbol.vb (4)
719
Return Me.
ReducedFrom
IsNot Nothing
745
''' <param name="reducedFromTypeParameter">Type parameter of the corresponding <see cref="
ReducedFrom
"/> method.</param>
749
''' <exception cref="System.ArgumentException">If <paramref name="reducedFromTypeParameter"/> doesn't belong to the corresponding <see cref="
ReducedFrom
"/> method.</exception>
940
Return Me.
ReducedFrom
Symbols\SubstitutedMethodSymbol.vb (1)
110
Return OriginalDefinition.
ReducedFrom
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
ExtensionMethods\SemanticModelTests.vb (2)
63
Assert.Equal("Function Module1.F1(ByRef this As C1) As System.Int32", method.
ReducedFrom
.ToTestDisplayString())
68
Dim reducedMethod As MethodSymbol = method.
ReducedFrom
.ReduceExtensionMethod(method.ReceiverType)
Semantics\GetSemanticInfoTests.vb (4)
4505
Assert.Equal("Function Program.Any(Of T)(s As System.Collections.Generic.ICollection(Of T), predicate As System.Func(Of T, System.Boolean)) As System.Boolean", method1.
ReducedFrom
.ToTestDisplayString())
4507
Assert.Equal("System.Reflection.FieldInfo", method1.GetTypeInferredDuringReduction(method1.
ReducedFrom
.TypeParameters(0)).ToTestDisplayString())
4509
Assert.Throws(Of InvalidOperationException)(Sub() method1.
ReducedFrom
.GetTypeInferredDuringReduction(Nothing))
4513
Where(Function(m) m IsNot method1.
ReducedFrom
).Cast(Of MethodSymbol)().Single().TypeParameters(0)))