[Build 12] VB Code analysis error

In the code i maintain. a structure is  defined which is used to marshal values to a native code library:

2011-11-24 12h17_03.png
I didn't thought about that the variables of the structure are defined as char() and did some calculation with the variable "Monat":

2011-11-24 12h12_21.png
VB compiler throws error BC30311 (could not convert 1-dimensional char array to double). R# only warns about runtime errors. "Option Strict Off" is set by default, because the code is migrated from VB6 and won't work with "Strict On". If i change the option to "OptionStrict On" R# also marks the line as error.


Please sign in to leave a comment.