24 references to ERR_IntegralTypeExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1143or ErrorCode.ERR_IntegralTypeExpected
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
68diagnostics.Add(ErrorCode.ERR_IntegralTypeExpected, typeSyntax.Location);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\Source\EnumTests.cs (12)
712new ErrorDescription { Code = (int)ErrorCode.ERR_IntegralTypeExpected }); 732new ErrorDescription { Code = (int)ErrorCode.ERR_IntegralTypeExpected }); 916Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "string").WithLocation(1, 23), 919Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "System.String").WithLocation(2, 23) 940Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int*").WithLocation(2, 11), 946Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "dynamic").WithLocation(3, 11), 949Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int[]").WithLocation(1, 11), 952Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "T").WithLocation(4, 24) 964Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int*").WithLocation(2, 11), 967Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int[]").WithLocation(1, 11), 973Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "dynamic").WithLocation(3, 11), 976Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "T").WithLocation(4, 24)
Symbols\Source\RecordTests.cs (2)
1329Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(8, 10) 1382Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(6, 10)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Parsing\ParserErrorMessageTests.cs (8)
1945Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "char").WithLocation(6, 18) 1965Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "I").WithLocation(4, 10), 1966Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(5, 10), 1967Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "E").WithLocation(6, 10), 1968Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "System.Enum").WithLocation(7, 10), 1969Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "string").WithLocation(8, 10), 1970Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "float").WithLocation(9, 10), 1971Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "decimal").WithLocation(10, 10));