Compile-time calculation: Difference between revisions
Content added Content deleted
(→{{header|Visual Basic .NET}}: Added VB.NET) |
(→{{header|Visual Basic .NET}}: Moved Compiler note to correct location) |
||
Line 1,123: | Line 1,123: | ||
=={{header|Visual Basic .NET}}== |
=={{header|Visual Basic .NET}}== |
||
⚫ | |||
The Roslyn compiler performs constant folding at compile-time and emits IL that contains the result. |
The Roslyn compiler performs constant folding at compile-time and emits IL that contains the result. |
||
Line 1,135: | Line 1,136: | ||
{{out|Emitted IL|note=disassembled with ILSpy}} |
{{out|Emitted IL|note=disassembled with ILSpy}} |
||
⚫ | |||
<!--CIL assembly has a similar overall syntax to C#, so colorize it as such.--> |
<!--CIL assembly has a similar overall syntax to C#, so colorize it as such.--> |