9 references to IsSingleViable
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.CapturedParametersFinder.cs (1)
163
else if (lookupResult.
IsSingleViable
)
Binder\Binder_Expressions.cs (4)
1870
var singleSymbol = lookupResult.
IsSingleViable
? lookupResult.Symbols[0] : null;
2515
Debug.Assert(result.
IsSingleViable
, "If this happens, we need to deal with multiple label definitions.");
7586
Symbol leftSymbol = lookupResult.
IsSingleViable
? lookupResult.Symbols[0] : null;
10688
if (lookupResult.
IsSingleViable
&&
Binder\Binder_Lookup.cs (1)
1103
((options & LookupOptions.NamespacesOrTypesOnly) == 0 || !(current.
IsSingleViable
&& TypeSymbol.Equals(current.SingleSymbolOrDefault.ContainingType, type, TypeCompareKind.AllIgnoreOptions)))) // The nested type will shadow everything from bases
Binder\Binder_Symbols.cs (2)
249
if (wasError && lookupResult.
IsSingleViable
)
260
if (lookupResult.
IsSingleViable
)
Binder\ForEachLoopBinder.cs (1)
1676
if (!lookupResult.
IsSingleViable
)