We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536cd6a commit 76df38fCopy full SHA for 76df38f
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1139CSharp7UnitTests.cs
@@ -223,6 +223,8 @@ public void Method()
223
[InlineData("(int)1_000_000_000_000_000_000L", "-1486618624")]
224
[InlineData("(int)0xFFFF_FFFF_FFFF_FFFFL", "-1")]
225
[InlineData("(uint)0xFFFF_FFFF_FFFF_FFFFL", "4294967295U")]
226
+ [InlineData("(int)0b11111111_11111111_11111111_11111111_11111111_11111111_11111111_11111111L", "-1")]
227
+ [InlineData("(uint)0b11111111_11111111_11111111_11111111_11111111_11111111_11111111_11111111L", "4294967295U")]
228
public async Task TestCastsWithSeparatorsInUncheckedEnviromentShouldPreserveValueAsync(string castExpression, string correctLiteral)
229
{
230
var testCode = $@"
0 commit comments