34 references to ERR_IntegralTypeExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1155or ErrorCode.ERR_IntegralTypeExpected
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
68diagnostics.Add(ErrorCode.ERR_IntegralTypeExpected, typeSyntax.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\PrimaryConstructorTests.cs (1)
109Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "Base").WithLocation(2, 1),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\BindingTests.cs (1)
4304Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "UInt32").WithLocation(4, 26)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Symbols\Source\EnumTests.cs (20)
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) 995Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int*").WithLocation(2, 11), 1001Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "dynamic").WithLocation(3, 11), 1004Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int[]").WithLocation(1, 11), 1007Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "T").WithLocation(4, 24)); 1015Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int*").WithLocation(2, 11), 1018Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "int[]").WithLocation(1, 11), 1024Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "dynamic").WithLocation(3, 11), 1027Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "T").WithLocation(4, 24));
Symbols\Source\RecordTests.cs (2)
1317Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(8, 10) 1358Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(6, 10)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Parsing\ParserErrorMessageTests.cs (8)
1963Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "char").WithLocation(6, 18) 1983Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "I").WithLocation(4, 10), 1984Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "C").WithLocation(5, 10), 1985Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "E").WithLocation(6, 10), 1986Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "System.Enum").WithLocation(7, 10), 1987Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "string").WithLocation(8, 10), 1988Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "float").WithLocation(9, 10), 1989Diagnostic(ErrorCode.ERR_IntegralTypeExpected, "decimal").WithLocation(10, 10));