dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: cscctest/csharp/class delegate1.cs,1.1,1.2 de


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: cscctest/csharp/class delegate1.cs,1.1,1.2 delegate1.il,1.2,1.3 delegate1.jerr,1.1,1.2 event1.cs,1.1,1.2 event1.il,1.4,1.5 event1.jerr,1.1,1.2
Date: Fri, 21 Feb 2003 07:18:59 -0500

Update of /cvsroot/dotgnu-pnet/cscctest/csharp/class
In directory subversions:/tmp/cvs-serv23763/csharp/class

Modified Files:
        delegate1.cs delegate1.il delegate1.jerr event1.cs event1.il 
        event1.jerr 
Log Message:
update the error messages and code to match the changes in the compiler


Index: delegate1.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/delegate1.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate1.cs        25 Jan 2002 04:47:22 -0000      1.1
--- delegate1.cs        21 Feb 2003 12:18:57 -0000      1.2
***************
*** 19,22 ****
--- 19,31 ----
   */
  
+ namespace System
+ {
+       public interface IAsyncResult
+       {
+       }
+ 
+       public delegate void AsyncCallback(IAsyncResult result);
+ }
+ 
  public delegate string D1(int x);
  

Index: delegate1.il
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/delegate1.il,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** delegate1.il        20 Sep 2002 00:10:08 -0000      1.2
--- delegate1.il        21 Feb 2003 12:18:57 -0000      1.3
***************
*** 8,15 ****
--- 8,33 ----
  }
  .module '<Module>'
+ .namespace 'System'
+ {
+ .class public auto interface abstract ansi 'IAsyncResult'
+ {
+ } // class IAsyncResult
+ } // namespace System
+ .namespace 'System'
+ {
+ .class public auto sealed serializable ansi 'AsyncCallback' extends 
['.library']'System'.'MulticastDelegate'
+ {
+ .method public hidebysig specialname rtspecialname instance void 
'.ctor'(class ['.library']'System'.'Object' 'object', native int 'method') 
runtime managed {}
+ .method public virtual hidebysig newslot instance void 'Invoke'(class 
'System'.'IAsyncResult' 'result') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
'System'.'IAsyncResult' 'BeginInvoke'(class 'System'.'IAsyncResult' 'result', 
class 'System'.'AsyncCallback' 'callback', class ['.library']'System'.'Object' 
'object') runtime managed {}
+ .method public virtual hidebysig newslot instance void 'EndInvoke'(class 
'System'.'IAsyncResult' 'result') runtime managed {}
+ } // class AsyncCallback
+ } // namespace System
  .class public auto sealed serializable ansi 'D1' extends 
['.library']'System'.'MulticastDelegate'
  {
  .method public hidebysig specialname rtspecialname instance void 
'.ctor'(class ['.library']'System'.'Object' 'object', native int 'method') 
runtime managed {}
  .method public virtual hidebysig newslot instance class 
['.library']'System'.'String' 'Invoke'(int32 'x') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
'System'.'IAsyncResult' 'BeginInvoke'(int32 'x', class 'System'.'AsyncCallback' 
'callback', class ['.library']'System'.'Object' 'object') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
['.library']'System'.'String' 'EndInvoke'(class 'System'.'IAsyncResult' 
'result') runtime managed {}
  } // class D1
  .class public auto ansi 'Test' extends ['.library']'System'.'Object'

Index: delegate1.jerr
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/delegate1.jerr,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate1.jerr      25 Jan 2002 04:47:22 -0000      1.1
--- delegate1.jerr      21 Feb 2003 12:18:57 -0000      1.2
***************
*** 1 ****
! ./delegate1.cs:21: delegate definitions are not permitted with Java output
--- 1,2 ----
! ./delegate1.cs:27: delegate definitions are not permitted with Java output
! ./delegate1.cs:30: delegate definitions are not permitted with Java output

Index: event1.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/event1.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** event1.cs   1 Jul 2002 09:28:16 -0000       1.1
--- event1.cs   21 Feb 2003 12:18:57 -0000      1.2
***************
*** 19,22 ****
--- 19,31 ----
   */
  
+ namespace System
+ {
+       public interface IAsyncResult
+       {
+       }
+ 
+       public delegate void AsyncCallback(IAsyncResult result);
+ }
+ 
  public delegate string D1(int x);
  

Index: event1.il
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/event1.il,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** event1.il   20 Sep 2002 00:10:08 -0000      1.4
--- event1.il   21 Feb 2003 12:18:57 -0000      1.5
***************
*** 8,15 ****
--- 8,33 ----
  }
  .module '<Module>'
+ .namespace 'System'
+ {
+ .class public auto interface abstract ansi 'IAsyncResult'
+ {
+ } // class IAsyncResult
+ } // namespace System
+ .namespace 'System'
+ {
+ .class public auto sealed serializable ansi 'AsyncCallback' extends 
['.library']'System'.'MulticastDelegate'
+ {
+ .method public hidebysig specialname rtspecialname instance void 
'.ctor'(class ['.library']'System'.'Object' 'object', native int 'method') 
runtime managed {}
+ .method public virtual hidebysig newslot instance void 'Invoke'(class 
'System'.'IAsyncResult' 'result') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
'System'.'IAsyncResult' 'BeginInvoke'(class 'System'.'IAsyncResult' 'result', 
class 'System'.'AsyncCallback' 'callback', class ['.library']'System'.'Object' 
'object') runtime managed {}
+ .method public virtual hidebysig newslot instance void 'EndInvoke'(class 
'System'.'IAsyncResult' 'result') runtime managed {}
+ } // class AsyncCallback
+ } // namespace System
  .class public auto sealed serializable ansi 'D1' extends 
['.library']'System'.'MulticastDelegate'
  {
  .method public hidebysig specialname rtspecialname instance void 
'.ctor'(class ['.library']'System'.'Object' 'object', native int 'method') 
runtime managed {}
  .method public virtual hidebysig newslot instance class 
['.library']'System'.'String' 'Invoke'(int32 'x') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
'System'.'IAsyncResult' 'BeginInvoke'(int32 'x', class 'System'.'AsyncCallback' 
'callback', class ['.library']'System'.'Object' 'object') runtime managed {}
+ .method public virtual hidebysig newslot instance class 
['.library']'System'.'String' 'EndInvoke'(class 'System'.'IAsyncResult' 
'result') runtime managed {}
  } // class D1
  .class public auto ansi 'Test' extends ['.library']'System'.'Object'

Index: event1.jerr
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/class/event1.jerr,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** event1.jerr 1 Jul 2002 09:28:16 -0000       1.1
--- event1.jerr 21 Feb 2003 12:18:57 -0000      1.2
***************
*** 1,7 ****
! ./event1.cs:21: delegate definitions are not permitted with Java output
! ./event1.cs:75: delegate creation disallowed when compiling to Java bytecode
! ./event1.cs:76: delegate creation disallowed when compiling to Java bytecode
! ./event1.cs:77: delegate creation disallowed when compiling to Java bytecode
! ./event1.cs:82: delegate creation disallowed when compiling to Java bytecode
! ./event1.cs:83: delegate creation disallowed when compiling to Java bytecode
  ./event1.cs:84: delegate creation disallowed when compiling to Java bytecode
--- 1,8 ----
! ./event1.cs:27: delegate definitions are not permitted with Java output
! ./event1.cs:30: delegate definitions are not permitted with Java output
  ./event1.cs:84: delegate creation disallowed when compiling to Java bytecode
+ ./event1.cs:85: delegate creation disallowed when compiling to Java bytecode
+ ./event1.cs:86: delegate creation disallowed when compiling to Java bytecode
+ ./event1.cs:91: delegate creation disallowed when compiling to Java bytecode
+ ./event1.cs:92: delegate creation disallowed when compiling to Java bytecode
+ ./event1.cs:93: delegate creation disallowed when compiling to Java bytecode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]