2005-08-04 Satya Sudha K <ksathyasudha@novell.com>
[mono.git] / mcs / class / Microsoft.VisualBasic / Test / standalone / 5118.vb
index ecabd299ffa6e2aa7849d38b5c6cae7080c6b01d..46cffd8ab640b7e9cfba4e4c7ee02fab15e9aee4 100644 (file)
@@ -2,7 +2,6 @@
 '
 ' Author:
 '   Roopa Wilson (rowilson@novell.com)
-
 ' Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 '
 ' Permission is hereby granted, free of charge, to any person obtaining
 ' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 ' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 '
-
-Imports Microsoft.VisualBasic \r
-Imports System\r
-Public Class TestClass \r
-       Public Function Test() As String\r
-               'Begin Code\r
-                       Try\r
-                               Dim result() As String = Split ("HelloHelloHelloHello","ello",-2)\r
-                               Throw New Exception ("#Split01")\r
-                       Catch e As Exception\r
-                               If (e.GetType ().ToString ()) <> "System.OverflowException" Then\r
-                                       Throw New Exception ("#Split02 : Expected System.OverflowException but got " + e.GetType ().ToString ())\r
-                               End If\r
-                       End Try\r
-               'End Code\r
-       End Function\r
-End Class\r
+Imports Microsoft.VisualBasic 
+Imports System
+Public Class TestClass 
+       Public Function Test() As String
+               'Begin Code
+                       Try
+                               Dim result() As String = Split ("HelloHelloHelloHello","ello",-2)
+                               Throw New Exception ("#Split01")
+                       Catch e As Exception
+                               If (e.GetType ().ToString ()) <> "System.OverflowException" Then
+                                       Throw New Exception ("#Split02 : Expected System.OverflowException but got " + e.GetType ().ToString ())
+                               End If
+                       End Try
+               'End Code
+       End Function
+End Class