3 overrides of ReducedFrom
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_XmlLiterals.vb (1)
1734Public Overrides ReadOnly Property ReducedFrom As MethodSymbol
Symbols\ReducedExtensionMethodSymbol.vb (1)
286Public Overrides ReadOnly Property ReducedFrom As MethodSymbol
Symbols\SubstitutedMethodSymbol.vb (1)
108Public Overrides ReadOnly Property ReducedFrom As MethodSymbol
24 references to ReducedFrom
Microsoft.CodeAnalysis.VisualBasic (18)
Binding\Binder_Delegates.vb (3)
728If targetMethodSymbol.ReducedFrom Is Nothing Then 752If targetMethodSymbol.ReducedFrom Is Nothing Then 983Dim reducedFromDefinition As MethodSymbol = targetMethod.ReducedFrom
Binding\Binder_Invocation.vb (2)
766If method.ReducedFrom IsNot Nothing Then 901Dim reducedFrom = method.ReducedFrom
Semantics\OverloadResolution.vb (8)
153Debug.Assert(method.ReducedFrom Is Nothing OrElse Me.IsExtensionMethod) 247Dim fixedTypeParameters = BitVector.Create(method.ReducedFrom.Arity) 262Debug.Assert(method.ReducedFrom IsNot Nothing) 296Return m_Method.ReducedFrom.Parameters(0).Type 906If method.ReducedFrom Is Nothing Then 3584firstSymbol = DirectCast(firstSymbol, MethodSymbol).ReducedFrom 3599secondSymbol = DirectCast(secondSymbol, MethodSymbol).ReducedFrom 4825paramForGenericityCheck = method.ReducedFrom.Parameters(paramIndex + 1)
Symbols\MethodSymbol.vb (4)
719Return 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> 940Return Me.ReducedFrom
Symbols\SubstitutedMethodSymbol.vb (1)
110Return OriginalDefinition.ReducedFrom
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
ExtensionMethods\SemanticModelTests.vb (2)
63Assert.Equal("Function Module1.F1(ByRef this As C1) As System.Int32", method.ReducedFrom.ToTestDisplayString()) 68Dim reducedMethod As MethodSymbol = method.ReducedFrom.ReduceExtensionMethod(method.ReceiverType)
Semantics\GetSemanticInfoTests.vb (4)
4505Assert.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()) 4507Assert.Equal("System.Reflection.FieldInfo", method1.GetTypeInferredDuringReduction(method1.ReducedFrom.TypeParameters(0)).ToTestDisplayString()) 4509Assert.Throws(Of InvalidOperationException)(Sub() method1.ReducedFrom.GetTypeInferredDuringReduction(Nothing)) 4513Where(Function(m) m IsNot method1.ReducedFrom).Cast(Of MethodSymbol)().Single().TypeParameters(0)))