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