2 writes to _bestResultState
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
41
_bestResultState
= ThreeState.Unknown;
77
_bestResultState
= TryGetBestResult(this.ResultsBuilder, out _bestResult);
4 references to _bestResultState
Microsoft.CodeAnalysis.CSharp (4)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (4)
54
return
_bestResultState
== ThreeState.True && _bestResult.Result.IsValid;
68
Debug.Assert(
_bestResultState
== ThreeState.True && _bestResult.Result.IsValid);
75
if (!
_bestResultState
.HasValue())
93
Debug.Assert(
_bestResultState
== ThreeState.True);