33 references to InferenceErrorReasons
Microsoft.CodeAnalysis.VisualBasic (33)
Binding\Binder_Expressions.vb (5)
4480Optional ByRef errorReasons As InferenceErrorReasons = InferenceErrorReasons.Other 4575errorReasons = InferenceErrorReasons.Other 4587If results.Count = 1 AndAlso errorReasons = InferenceErrorReasons.Other Then 4602ElseIf allConvertibleToObject AndAlso (errorReasons And InferenceErrorReasons.Ambiguous) <> 0 Then
Binding\Binder_Invocation.vb (3)
2233Dim inferenceErrorReasons As InferenceErrorReasons = candidateAnalysisResult.InferenceErrorReasons 2235If (inferenceErrorReasons And InferenceErrorReasons.Ambiguous) <> 0 Then 2243ElseIf (inferenceErrorReasons And InferenceErrorReasons.NoBest) <> 0 Then
Binding\Binder_Statements.vb (3)
1508Dim errorReasons As InferenceErrorReasons = InferenceErrorReasons.Other 1514If numCandidates = 0 OrElse (numCandidates > 1 AndAlso (errorReasons And InferenceErrorReasons.Ambiguous) = 0) Then
Semantics\OverloadResolution.vb (5)
649Public Sub SetInferenceErrorReasons(reasons As InferenceErrorReasons) 656Public ReadOnly Property InferenceErrorReasons As InferenceErrorReasons 658Return CType((_smallFields And SmallFieldMask.InferenceErrorReasonsMask) >> SmallFieldMask.InferenceErrorReasonsShift, InferenceErrorReasons) 4874Dim inferenceErrorReasons As InferenceErrorReasons = InferenceErrorReasons.Other
Semantics\TypeInference\TypeArgumentInference.vb (10)
29ByRef inferenceErrorReasons As InferenceErrorReasons, 308Dim errorReasons As InferenceErrorReasons = InferenceErrorReasons.Other 321errorReasons = errorReasons And (Not (InferenceErrorReasons.Ambiguous Or InferenceErrorReasons.NoBest)) 328If (errorReasons And InferenceErrorReasons.Ambiguous) <> 0 Then 614Private _inferenceErrorReasons As InferenceErrorReasons 674Public ReadOnly Property InferenceErrorReasons As InferenceErrorReasons 707ByRef inferenceErrorReasons As InferenceErrorReasons, 2305Public Sub RegisterErrorReasons(inferenceErrorReasons As InferenceErrorReasons)
Semantics\TypeInference\TypeInferenceCollection.vb (5)
64ByRef inferenceErrorReasons As InferenceErrorReasons, 191inferenceErrorReasons = inferenceErrorReasons Or InferenceErrorReasons.NoBest 206inferenceErrorReasons = inferenceErrorReasons Or InferenceErrorReasons.Ambiguous 383inferenceErrorReasons = inferenceErrorReasons Or InferenceErrorReasons.Ambiguous 401inferenceErrorReasons = inferenceErrorReasons Or InferenceErrorReasons.Ambiguous
Symbols\ReducedExtensionMethodSymbol.vb (2)
82Dim inferenceErrorReasons As InferenceErrorReasons = InferenceErrorReasons.Other