Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

VB to C# Translator Discards Code

$
0
0

In a VB exception handler,

 Catch Sys_Ex As System.Exception When Sys_Ex.Message.Contains("The source is not a valid PDF file")

the "When" clause is silently discarded. It must be converted to an "if" statement or a comment.

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles