11 references to ERR_CannotMatchOnINumberBase
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Patterns.cs (2)
448diagnostics.Add(ErrorCode.ERR_CannotMatchOnINumberBase, node.Location, inputType); 1685diagnostics.Add(ErrorCode.ERR_CannotMatchOnINumberBase, node.Location, inputType);
Errors\ErrorFacts.cs (1)
2305or ErrorCode.ERR_CannotMatchOnINumberBase
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\PatternMatchingTests5.cs (8)
1990Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "1").WithArguments("T").WithLocation(8, 9), 1993Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "> 1").WithArguments("T").WithLocation(9, 9), 2034Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "1").WithArguments("T").WithLocation(8, 9), 2037Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "> 1").WithArguments("T").WithLocation(9, 9), 2131Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "1").WithArguments("T").WithLocation(8, 9), 2134Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "> 1").WithArguments("T").WithLocation(9, 9), 2440Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "1").WithArguments("System.Numerics.INumberBase<int>").WithLocation(5, 5), 2443Diagnostic(ErrorCode.ERR_CannotMatchOnINumberBase, "> 1").WithArguments("System.Numerics.INumberBase<int>").WithLocation(6, 5)