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