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