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