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/expr delegate1.cs,1.1,1.2 de


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

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

Modified Files:
        delegate1.cs delegate1.il delegate1.jerr delegate3.cs 
        delegate3.il delegate3.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/expr/delegate1.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate1.cs        1 Jul 2002 00:56:34 -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/expr/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/expr/delegate1.jerr,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate1.jerr      1 Jul 2002 00:56:34 -0000       1.1
--- delegate1.jerr      21 Feb 2003 12:18:57 -0000      1.2
***************
*** 1,5 ****
! ./delegate1.cs:21: delegate definitions are not permitted with Java output
! ./delegate1.cs:42: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:47: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:52: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:57: delegate creation disallowed when compiling to Java 
bytecode
--- 1,6 ----
! ./delegate1.cs:27: delegate definitions are not permitted with Java output
! ./delegate1.cs:30: delegate definitions are not permitted with Java output
! ./delegate1.cs:51: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:56: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:61: delegate creation disallowed when compiling to Java 
bytecode
! ./delegate1.cs:66: delegate creation disallowed when compiling to Java 
bytecode

Index: delegate3.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/expr/delegate3.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate3.cs        1 Jul 2002 03:34:39 -0000       1.1
--- delegate3.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: delegate3.il
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/expr/delegate3.il,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** delegate3.il        20 Sep 2002 00:10:08 -0000      1.2
--- delegate3.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: delegate3.jerr
===================================================================
RCS file: /cvsroot/dotgnu-pnet/cscctest/csharp/expr/delegate3.jerr,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** delegate3.jerr      1 Jul 2002 03:34:39 -0000       1.1
--- delegate3.jerr      21 Feb 2003 12:18:57 -0000      1.2
***************
*** 1 ****
! ./delegate3.cs:21: delegate definitions are not permitted with Java output
--- 1,2 ----
! ./delegate3.cs:27: delegate definitions are not permitted with Java output
! ./delegate3.cs:30: delegate definitions are not permitted with Java output





reply via email to

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