We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1338963 commit c24caebCopy full SHA for c24caeb
1 file changed
Tests/CSharp/SpecialConversionTests.cs
@@ -219,6 +219,25 @@ private string numstr(double aDouble)
219
}");
220
}
221
222
+ [Fact]
223
+ public async Task Issue1147_LargeNumericHexAndBinaryLiteralsAsync()
224
+ {
225
+ await TestConversionVisualBasicToCSharpAsync(
226
+ @"
227
+Public Class Issue1147
228
+ Private Const LargeUInt As UInteger = &HFFFFFFFEUI
229
+ Private Const LargeULong As ULong = &HFFFFFFFFFFFFFFFEUL
230
+ Private Const LargeLong As Long = &HFFFFFFFFFFFFFFFEL
231
+End Class", @"
232
+public partial class Issue1147
233
+{
234
+ private const uint LargeUInt = 0xFFFFFFFEU;
235
+ private const ulong LargeULong = 0xFFFFFFFFFFFFFFFEUL;
236
+ private const long LargeLong = 0xFFFFFFFFFFFFFFFEL;
237
+}");
238
+ }
239
+
240
241
[Fact]
242
public async Task TestConstCharacterConversionsAsync()
243
{
0 commit comments