diff --git a/CS2JLibrary/NetFramework/System/EventArgs.xml b/CS2JLibrary/NetFramework/System/EventArgs.xml new file mode 100644 index 0000000..2d79522 --- /dev/null +++ b/CS2JLibrary/NetFramework/System/EventArgs.xml @@ -0,0 +1,29 @@ + + + + + CS2JNet.JavaSupport.language.EventArgs + + EventArgs + System.EventArgs + + + System.Object + + + + + + + + + + + +ptKNWkfazFtlOdOMKPsKSvD096c=ROp3Fp6wLw1rNYGt34gt3gvDzWW0XKLPMB9/vcEJL4Psd5erNgP2m1dNBPVYZ5/Sq7hReNwFGygxVoNDbJuC9gJ0LAS/mukUnTObx0qvfsSQzD/+RZc6iiN8Jlq3XNaV7yv2NwrQ07JnTBUT3RTeOXLLdPgVCUSRpVc87PJVifg= diff --git a/CS2JLibrary/NetFramework/System/GC.xml b/CS2JLibrary/NetFramework/System/GC.xml new file mode 100644 index 0000000..6c58f18 --- /dev/null +++ b/CS2JLibrary/NetFramework/System/GC.xml @@ -0,0 +1,44 @@ + + + + + System.GC + + + + System.gc() + + + Collect + System.Void + + + GCSupport.SuppressFinalize has no effect. It is not possible to suppress finalize() in Java + + CS2JNet.System.GCSupport + + GCSupport.SuppressFinalize(${arg}) /* CS2J: this call does nothing */ + + + System.Object + arg + + + SuppressFinalize + System.Void + + + + + + + + + +yu2wOTyUyadVCuq3eoz/y2QNoGs=ZdPXY6PcJn6yuDYvUzlFwxVDdR1r5a+dX1bLKQnRZKq7e8TV/K5ObmfbOkAvmqd+eIBWUlUSHbCPMoRlhYW8BQFIYcOf2YvItZLn9QWO1PWlvkNYPVmmofT9OCupVfRAB+ZIL10fi1NvAE65S24UqVpSAuk6qXrOqFvRyvhBQ00= diff --git a/CS2JLibrary/NetFramework/System/ObjectDisposedException.xml b/CS2JLibrary/NetFramework/System/ObjectDisposedException.xml new file mode 100644 index 0000000..ecb8634 --- /dev/null +++ b/CS2JLibrary/NetFramework/System/ObjectDisposedException.xml @@ -0,0 +1,80 @@ + + + + + CS2JNet.System.ObjectDisposedException + + ObjectDisposedException + System.ObjectDisposedException + + + System.Exception + + + + + + + + + CS2JNet.System.ObjectDisposedException + + new ObjectDisposedException() + + + + + CS2JNet.System.ObjectDisposedException + + new ObjectDisposedException(${message}) + + + System.String + message + + + + + + CS2JNet.System.ObjectDisposedException + + new ObjectDisposedException(${info},${ctxt}) + + + System.SerializationInfo + info + + + System.StreamingContext + ctxt + + + + + + CS2JNet.System.ObjectDisposedException + + new ObjectDisposedException(${message}, ${inner}) + + + System.String + message + + + System.Exception + inner + + + + + + + + +yu2wOTyUyadVCuq3eoz/y2QNoGs=ZdPXY6PcJn6yuDYvUzlFwxVDdR1r5a+dX1bLKQnRZKq7e8TV/K5ObmfbOkAvmqd+eIBWUlUSHbCPMoRlhYW8BQFIYcOf2YvItZLn9QWO1PWlvkNYPVmmofT9OCupVfRAB+ZIL10fi1NvAE65S24UqVpSAuk6qXrOqFvRyvhBQ00= diff --git a/CS2JLibrary/src/CS2JNet/JavaSupport/language/RefSupport.java b/CS2JLibrary/src/CS2JNet/JavaSupport/language/RefSupport.java new file mode 100644 index 0000000..0daf251 --- /dev/null +++ b/CS2JLibrary/src/CS2JNet/JavaSupport/language/RefSupport.java @@ -0,0 +1,41 @@ +/* + Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author(s): + + Kevin Glynn (kevin.glynn@twigletsoftware.com) +*/ +package CS2JNet.JavaSupport.language; + + +// Wraps a parameter so that it can be used as a ref or out param. +public class RefSupport { + + private T value; + + /** + * @param value the value to set + */ + public void setValue(T value) { + this.value = value; + } + + /** + * @return the value + */ + public T getValue() { + return value; + } +} diff --git a/CS2JLibrary/src/CS2JNet/System/ObjectDisposedException.java b/CS2JLibrary/src/CS2JNet/System/ObjectDisposedException.java new file mode 100644 index 0000000..1832920 --- /dev/null +++ b/CS2JLibrary/src/CS2JNet/System/ObjectDisposedException.java @@ -0,0 +1,46 @@ +/* + Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + Author(s): + + Kevin Glynn (kevin.glynn@twigletsoftware.com) +*/ + +package CS2JNet.System; + +/** + * @author keving + * + */ +public class ObjectDisposedException extends Exception { + + public ObjectDisposedException() { + + } + + public ObjectDisposedException(String msg) { + super(msg); + } + + public ObjectDisposedException(Throwable inner) { + super(inner); + } + + public ObjectDisposedException(String msg, Throwable inner) { + super(msg, inner); + } + + +}