13 references to Ambiguous
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Expressions.cs (1)
7776return new BoundBadExpression(node, LookupResultKind.Ambiguous, lookupResult.Symbols.AsImmutable(), ImmutableArray.Create(boundLeft), CreateErrorType(rightName), hasErrors: true);
Binder\Binder_Operators.cs (4)
805ErrorCode errorCode = resultKind == LookupResultKind.Ambiguous ? 865case LookupResultKind.Ambiguous: 1349resultKind = LookupResultKind.Ambiguous; 1457resultKind = LookupResultKind.Ambiguous;
Binder\Binder_Symbols.cs (2)
1451receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.Ambiguous, ImmutableArray<Symbol>.Empty, ImmutableArray.Create(receiver), receiver.Type, hasErrors: true).MakeCompilerGenerated(); 2221LookupResultKind.Ambiguous,
Binder\Binder_TupleOperators.cs (1)
211ReportBinaryOperatorError(node, diagnostics, node.OperatorToken, left, right, LookupResultKind.Ambiguous);
Binder\LookupResultKind.cs (1)
90case LookupResultKind.Ambiguous: return CandidateReason.Ambiguous;
Binder\MethodGroupResolution.cs (1)
49Debug.Assert(resultKind != LookupResultKind.Ambiguous); // HasAnyApplicableMethod is expecting Viable methods.
Compilation\CSharpSemanticModel.cs (1)
380LookupResultKind resultKind = LookupResultKind.Ambiguous;
Compilation\SyntaxTreeSemanticModel.cs (1)
270result = SymbolInfoFactory.Create(symbols, LookupResultKind.Ambiguous, isDynamic: false);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
342baseType = new ExtendedErrorTypeSymbol(baseType, LookupResultKind.Ambiguous, info);