7 references to IsSingleViable
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.CapturedParametersFinder.cs (1)
163
else if (lookupResult.
IsSingleViable
)
Binder\Binder_Expressions.cs (2)
2411
Debug.Assert(result.
IsSingleViable
, "If this happens, we need to deal with multiple label definitions.");
10195
if (lookupResult.
IsSingleViable
&&
Binder\Binder_Lookup.cs (1)
1029
((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)
247
if (wasError && lookupResult.
IsSingleViable
)
258
if (lookupResult.
IsSingleViable
)
Binder\ForEachLoopBinder.cs (1)
1639
if (!lookupResult.
IsSingleViable
)