https://bugzilla.novell.com/show_bug.cgi?id=411572

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=411572#c4





--- Comment #4 from Jim Witkam <[EMAIL PROTECTED]>  2008-07-24 13:31:38 MDT ---
The entire project is a bit big, about 50,000 lines I guess. 
To make things easier, here are some things I learned vbnc has "unexpected"
(unspecified) problems with (of the likes VBNC99999 or VBNC99997):

1. Assigning -1 (or other negative values?) directly as the default value of an
optional property argument (instead use a constant). For example: 

Public Property Example(Optional ByVal Arg1 As Integer = -1) As UInteger
..
End Property

Possibly the fact that the property type is UInteger causes this error,
although it should have nothing to do with it.


2. In functions, calling methods/properties on the return object that is
referenced through the function name. (It's probably bad coding practice but in
Net it causes no problems). For example:

Function Example(...) as SomeClass
  Example.SomeMethod()
End Function


3. Using Ctype(...) in a constant declaration.


4. In For Each ... Next statements, adding the looping variable after Next (is
not necessary anyway).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to