13 references to Error
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Patterns.cs (2)
1656case BinaryOperatorKind.Error: 1714_ => BinaryOperatorKind.Error,
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (6)
14private const BinaryOperatorKind ERR = BinaryOperatorKind.Error; 260return BinaryOperatorKind.Error; 265return BinaryOperatorKind.Error; 268var result = BinaryOperatorKind.Error; 282return result == BinaryOperatorKind.Error ? result : result | kind; 307if (easyOut == BinaryOperatorKind.Error)
Compilation\CSharpCompilation.cs (1)
4319if (easyOutBinaryKind != BinaryOperatorKind.Error)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
400Debug.Assert(operatorType != BinaryOperatorKind.Error);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\OperatorTests.cs (3)
8159if (result == BinaryOperatorKind.Error) 8235(result = OverloadResolution.BinopEasyOut.OpKind(op, leftType.EnumUnderlyingTypeOrSelf(), rightType)) != BinaryOperatorKind.Error && 8242(result = OverloadResolution.BinopEasyOut.OpKind(op, leftType, rightType.EnumUnderlyingTypeOrSelf())) != BinaryOperatorKind.Error &&