9 references to IsSingleViable
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.CapturedParametersFinder.cs (1)
163else if (lookupResult.IsSingleViable)
Binder\Binder_Expressions.cs (4)
1870var singleSymbol = lookupResult.IsSingleViable ? lookupResult.Symbols[0] : null; 2515Debug.Assert(result.IsSingleViable, "If this happens, we need to deal with multiple label definitions."); 7586Symbol leftSymbol = lookupResult.IsSingleViable ? lookupResult.Symbols[0] : null; 10688if (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)
249if (wasError && lookupResult.IsSingleViable) 260if (lookupResult.IsSingleViable)
Binder\ForEachLoopBinder.cs (1)
1676if (!lookupResult.IsSingleViable)