|
Bugzilla – Full Text Bug Listing |
| Summary: | System.InvalidCastException: Len | ||
|---|---|---|---|
| Product: | [Mono] Mono: Class Libraries | Reporter: | Rolf Kvinge <rkvinge> |
| Component: | VB Runtime | Assignee: | Rolf Kvinge <rkvinge> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | SVN | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | sample.vb | ||
Duplicate. *** This bug has been marked as a duplicate of bug 505042 *** |
Created attachment 289382 [details] sample.vb repro: vbnc sample.vb mono sample.exe Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Module1 ---> System.InvalidCastException: Cannot cast from source type to destination type. at Microsoft.VisualBasic.Strings.GetSize (System.Object Expression) [0x00000] at Microsoft.VisualBasic.Strings.Len (System.Object Expression) [0x00000] at Module1..cctor () [0x00000] --- End of inner exception stack trace ---