예제 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException, ClassNotFoundException
            internal virtual void writeObject(ObjectOutputStream @out)
            {
                @out.defaultWriteObject();
                @out.writeObject(method.DeclaringClass);
                @out.writeObject(method.Name);
                @out.writeObject(method.ParameterTypes);
            }
예제 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException, ClassNotFoundException
        private void writeObject(ObjectOutputStream @out)
        {
            @out.defaultWriteObject();
            MethodWrapper[] wrappers = new MethodWrapper[functions.Length];
            for (int i = 0; i < wrappers.Length; i++)
            {
                wrappers[i] = new MethodWrapper(functions[i]);
            }
            @out.writeObject(wrappers);
        }
예제 #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void writeObject(java.io.ObjectOutputStream os) throws java.io.IOException
        private void writeObject(ObjectOutputStream os)
        {
            os.defaultWriteObject();
        }