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