
system.Single Maven / Gradle / Ivy
/*
* MIT License
*
* Copyright (c) 2023 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**************************************************************************************
*
* This code was generated from a template using JCOReflector
*
* Manual changes to this file may cause unexpected behavior in your application.
* Manual changes to this file will be overwritten if the code is regenerated.
*
*************************************************************************************/
package system;
import org.mases.jcobridge.*;
import org.mases.jcobridge.netreflection.*;
import java.util.ArrayList;
// Import section
import system.ValueType;
import system.Single;
import system.globalization.NumberStyles;
import system.IFormatProvider;
import system.IFormatProviderImplementation;
import system.MidpointRounding;
import system.TypeCode;
import system.SByte;
import system.DateTime;
import system.Decimal;
import system.UInt16;
import system.UInt32;
import system.UInt64;
/**
* The base .NET class managing System.Single, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.
*
*
* .NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Single
*
*
* Powered by JCOBridge: more info at https://www.jcobridge.com
*
* @author MASES s.r.l https://masesgroup.com
* @version 1.13.0.0
*/
public class Single extends ValueType {
/**
* Fully assembly qualified name: System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
*/
public static final String assemblyFullName = "System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e";
/**
* Assembly name: System.Private.CoreLib
*/
public static final String assemblyShortName = "System.Private.CoreLib";
/**
* Qualified class name: System.Single
*/
public static final String className = "System.Single";
static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
/**
* The type managed from JCOBridge. See {@link JCType}
*/
public static JCType classType = createType();
static JCEnum enumInstance = null;
JCObject classInstance = null;
static JCType createType() {
try {
String classToCreate = className + ", "
+ (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Creating %s", classToCreate);
JCType typeCreated = bridge.GetType(classToCreate);
if (JCOReflector.getDebug())
JCOReflector.writeLog("Created: %s",
(typeCreated != null) ? typeCreated.toString() : "Returned null value");
return typeCreated;
} catch (JCException e) {
JCOReflector.writeLog(e);
return null;
}
}
void addReference(String ref) throws Throwable {
try {
bridge.AddReference(ref);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
/**
* Internal constructor. Use with caution
*/
public Single(java.lang.Object instance) throws Throwable {
super(instance);
if (instance instanceof JCObject) {
classInstance = (JCObject) instance;
} else
throw new Exception("Cannot manage object, it is not a JCObject");
}
public String getJCOAssemblyName() {
return assemblyFullName;
}
public String getJCOClassName() {
return className;
}
public String getJCOObjectName() {
return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
}
public java.lang.Object getJCOInstance() {
return classInstance;
}
public void setJCOInstance(JCObject instance) {
classInstance = instance;
super.setJCOInstance(classInstance);
}
public JCType getJCOType() {
return classType;
}
/**
* Try to cast the {@link IJCOBridgeReflected} instance into {@link Single}, a cast assert is made to check if types are compatible.
* @param from {@link IJCOBridgeReflected} instance to be casted
* @return {@link Single} instance
* @throws java.lang.Throwable in case of error during cast operation
*/
public static Single cast(IJCOBridgeReflected from) throws Throwable {
NetType.AssertCast(classType, from);
return new Single(from.getJCOInstance());
}
// Constructors section
public Single() throws Throwable {
}
// Methods section
public boolean Equals(Single obj) throws Throwable {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (boolean)classInstance.Invoke("Equals", obj == null ? null : obj.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsEvenInteger(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsEvenInteger", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsFinite(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsFinite", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsInfinity(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsInfinity", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsInteger(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsInteger", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsNaN(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsNaN", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsNegative(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsNegative", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsNegativeInfinity(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsNegativeInfinity", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsNormal(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsNormal", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsOddInteger(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsOddInteger", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsPositive(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsPositive", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsPositiveInfinity(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsPositiveInfinity", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsPow2(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsPow2", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsRealNumber(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsRealNumber", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean IsSubnormal(Single f) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("IsSubnormal", f == null ? null : f.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean TryParse(java.lang.String s, JCORefOut result) throws Throwable, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.RankException, system.IndexOutOfRangeException, system.ArrayTypeMismatchException, system.TypeInitializationException, system.NotSupportedException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("TryParse", s, result.getJCRefOut());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean TryParse(java.lang.String s, NumberStyles style, IFormatProvider provider, JCORefOut result) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("TryParse", s, style == null ? null : style.getJCOInstance(), provider == null ? null : provider.getJCOInstance(), result.getJCRefOut());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static boolean TryParse(java.lang.String s, IFormatProvider provider, JCORefOut result) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (boolean)classType.Invoke("TryParse", s, provider == null ? null : provider.getJCOInstance(), result.getJCRefOut());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public int CompareTo(Single value) throws Throwable {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (int)classInstance.Invoke("CompareTo", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public int CompareTo(NetObject value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.NotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.RankException, system.globalization.CultureNotFoundException, system.ObjectDisposedException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (int)classInstance.Invoke("CompareTo", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int ILogB(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("ILogB", x == null ? null : x.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static int Sign(Single value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.ArithmeticException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
return (int)classType.Invoke("Sign", value == null ? null : value.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Abs(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAbs = (JCObject)classType.Invoke("Abs", value == null ? null : value.getJCOInstance());
return new Single(objAbs);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Acos(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAcos = (JCObject)classType.Invoke("Acos", x == null ? null : x.getJCOInstance());
return new Single(objAcos);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Acosh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAcosh = (JCObject)classType.Invoke("Acosh", x == null ? null : x.getJCOInstance());
return new Single(objAcosh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single AcosPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAcosPi = (JCObject)classType.Invoke("AcosPi", x == null ? null : x.getJCOInstance());
return new Single(objAcosPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Asin(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAsin = (JCObject)classType.Invoke("Asin", x == null ? null : x.getJCOInstance());
return new Single(objAsin);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Asinh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAsinh = (JCObject)classType.Invoke("Asinh", x == null ? null : x.getJCOInstance());
return new Single(objAsinh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single AsinPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAsinPi = (JCObject)classType.Invoke("AsinPi", x == null ? null : x.getJCOInstance());
return new Single(objAsinPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Atan(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAtan = (JCObject)classType.Invoke("Atan", x == null ? null : x.getJCOInstance());
return new Single(objAtan);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Atan2(Single y, Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAtan2 = (JCObject)classType.Invoke("Atan2", y == null ? null : y.getJCOInstance(), x == null ? null : x.getJCOInstance());
return new Single(objAtan2);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Atan2Pi(Single y, Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAtan2Pi = (JCObject)classType.Invoke("Atan2Pi", y == null ? null : y.getJCOInstance(), x == null ? null : x.getJCOInstance());
return new Single(objAtan2Pi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Atanh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAtanh = (JCObject)classType.Invoke("Atanh", x == null ? null : x.getJCOInstance());
return new Single(objAtanh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single AtanPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objAtanPi = (JCObject)classType.Invoke("AtanPi", x == null ? null : x.getJCOInstance());
return new Single(objAtanPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single BitDecrement(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBitDecrement = (JCObject)classType.Invoke("BitDecrement", x == null ? null : x.getJCOInstance());
return new Single(objBitDecrement);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single BitIncrement(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objBitIncrement = (JCObject)classType.Invoke("BitIncrement", x == null ? null : x.getJCOInstance());
return new Single(objBitIncrement);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Cbrt(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCbrt = (JCObject)classType.Invoke("Cbrt", x == null ? null : x.getJCOInstance());
return new Single(objCbrt);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Ceiling(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCeiling = (JCObject)classType.Invoke("Ceiling", x == null ? null : x.getJCOInstance());
return new Single(objCeiling);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Clamp(Single value, Single min, Single max) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objClamp = (JCObject)classType.Invoke("Clamp", value == null ? null : value.getJCOInstance(), min == null ? null : min.getJCOInstance(), max == null ? null : max.getJCOInstance());
return new Single(objClamp);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single CopySign(Single value, Single sign) throws Throwable, system.NotSupportedException, system.ArgumentException, system.PlatformNotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCopySign = (JCObject)classType.Invoke("CopySign", value == null ? null : value.getJCOInstance(), sign == null ? null : sign.getJCOInstance());
return new Single(objCopySign);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Cos(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCos = (JCObject)classType.Invoke("Cos", x == null ? null : x.getJCOInstance());
return new Single(objCos);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Cosh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCosh = (JCObject)classType.Invoke("Cosh", x == null ? null : x.getJCOInstance());
return new Single(objCosh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single CosPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objCosPi = (JCObject)classType.Invoke("CosPi", x == null ? null : x.getJCOInstance());
return new Single(objCosPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Exp(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExp = (JCObject)classType.Invoke("Exp", x == null ? null : x.getJCOInstance());
return new Single(objExp);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Exp10(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExp10 = (JCObject)classType.Invoke("Exp10", x == null ? null : x.getJCOInstance());
return new Single(objExp10);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Exp10M1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExp10M1 = (JCObject)classType.Invoke("Exp10M1", x == null ? null : x.getJCOInstance());
return new Single(objExp10M1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Exp2(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExp2 = (JCObject)classType.Invoke("Exp2", x == null ? null : x.getJCOInstance());
return new Single(objExp2);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Exp2M1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExp2M1 = (JCObject)classType.Invoke("Exp2M1", x == null ? null : x.getJCOInstance());
return new Single(objExp2M1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ExpM1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objExpM1 = (JCObject)classType.Invoke("ExpM1", x == null ? null : x.getJCOInstance());
return new Single(objExpM1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Floor(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objFloor = (JCObject)classType.Invoke("Floor", x == null ? null : x.getJCOInstance());
return new Single(objFloor);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single FusedMultiplyAdd(Single left, Single right, Single addend) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objFusedMultiplyAdd = (JCObject)classType.Invoke("FusedMultiplyAdd", left == null ? null : left.getJCOInstance(), right == null ? null : right.getJCOInstance(), addend == null ? null : addend.getJCOInstance());
return new Single(objFusedMultiplyAdd);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Hypot(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objHypot = (JCObject)classType.Invoke("Hypot", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objHypot);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Ieee754Remainder(Single left, Single right) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.PlatformNotSupportedException, system.NotSupportedException, system.ObjectDisposedException, system.InvalidOperationException, system.RankException, system.ArrayTypeMismatchException, system.ArithmeticException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objIeee754Remainder = (JCObject)classType.Invoke("Ieee754Remainder", left == null ? null : left.getJCOInstance(), right == null ? null : right.getJCOInstance());
return new Single(objIeee754Remainder);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log(Single x, Single newBase) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog = (JCObject)classType.Invoke("Log", x == null ? null : x.getJCOInstance(), newBase == null ? null : newBase.getJCOInstance());
return new Single(objLog);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog = (JCObject)classType.Invoke("Log", x == null ? null : x.getJCOInstance());
return new Single(objLog);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log10(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog10 = (JCObject)classType.Invoke("Log10", x == null ? null : x.getJCOInstance());
return new Single(objLog10);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log10P1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog10P1 = (JCObject)classType.Invoke("Log10P1", x == null ? null : x.getJCOInstance());
return new Single(objLog10P1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log2(Single value) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog2 = (JCObject)classType.Invoke("Log2", value == null ? null : value.getJCOInstance());
return new Single(objLog2);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Log2P1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLog2P1 = (JCObject)classType.Invoke("Log2P1", x == null ? null : x.getJCOInstance());
return new Single(objLog2P1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single LogP1(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objLogP1 = (JCObject)classType.Invoke("LogP1", x == null ? null : x.getJCOInstance());
return new Single(objLogP1);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Max(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMax = (JCObject)classType.Invoke("Max", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMax);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MaxMagnitude(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMaxMagnitude = (JCObject)classType.Invoke("MaxMagnitude", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMaxMagnitude);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MaxMagnitudeNumber(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMaxMagnitudeNumber = (JCObject)classType.Invoke("MaxMagnitudeNumber", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMaxMagnitudeNumber);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MaxNumber(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMaxNumber = (JCObject)classType.Invoke("MaxNumber", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMaxNumber);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Min(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMin = (JCObject)classType.Invoke("Min", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMin);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MinMagnitude(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMinMagnitude = (JCObject)classType.Invoke("MinMagnitude", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMinMagnitude);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MinMagnitudeNumber(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMinMagnitudeNumber = (JCObject)classType.Invoke("MinMagnitudeNumber", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMinMagnitudeNumber);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single MinNumber(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objMinNumber = (JCObject)classType.Invoke("MinNumber", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objMinNumber);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Parse(java.lang.String s, NumberStyles style, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objParse = (JCObject)classType.Invoke("Parse", s, style == null ? null : style.getJCOInstance(), provider == null ? null : provider.getJCOInstance());
return new Single(objParse);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Parse(java.lang.String s, NumberStyles style) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.globalization.CultureNotFoundException, system.TypeInitializationException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objParse = (JCObject)classType.Invoke("Parse", s, style == null ? null : style.getJCOInstance());
return new Single(objParse);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Parse(java.lang.String s, IFormatProvider provider) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ArgumentNullException, system.ObjectDisposedException, system.RankException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objParse = (JCObject)classType.Invoke("Parse", s, provider == null ? null : provider.getJCOInstance());
return new Single(objParse);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Parse(java.lang.String s) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ArgumentNullException, system.ObjectDisposedException, system.RankException, system.globalization.CultureNotFoundException, system.TypeInitializationException, system.OverflowException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objParse = (JCObject)classType.Invoke("Parse", s);
return new Single(objParse);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Pow(Single x, Single y) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objPow = (JCObject)classType.Invoke("Pow", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
return new Single(objPow);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ReciprocalEstimate(Single x) throws Throwable, system.NotSupportedException, system.ArgumentException, system.PlatformNotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objReciprocalEstimate = (JCObject)classType.Invoke("ReciprocalEstimate", x == null ? null : x.getJCOInstance());
return new Single(objReciprocalEstimate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ReciprocalSqrtEstimate(Single x) throws Throwable, system.NotSupportedException, system.ArgumentException, system.PlatformNotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objReciprocalSqrtEstimate = (JCObject)classType.Invoke("ReciprocalSqrtEstimate", x == null ? null : x.getJCOInstance());
return new Single(objReciprocalSqrtEstimate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single RootN(Single x, int n) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objRootN = (JCObject)classType.Invoke("RootN", x == null ? null : x.getJCOInstance(), n);
return new Single(objRootN);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Round(Single x, int digits, MidpointRounding mode) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ObjectDisposedException, system.ArithmeticException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objRound = (JCObject)classType.Invoke("Round", x == null ? null : x.getJCOInstance(), digits, mode == null ? null : mode.getJCOInstance());
return new Single(objRound);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Round(Single x, int digits) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.PlatformNotSupportedException, system.ArrayTypeMismatchException, system.IndexOutOfRangeException, system.NotSupportedException, system.ObjectDisposedException, system.RankException, system.ArithmeticException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objRound = (JCObject)classType.Invoke("Round", x == null ? null : x.getJCOInstance(), digits);
return new Single(objRound);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Round(Single x, MidpointRounding mode) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.ArithmeticException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objRound = (JCObject)classType.Invoke("Round", x == null ? null : x.getJCOInstance(), mode == null ? null : mode.getJCOInstance());
return new Single(objRound);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Round(Single x) throws Throwable, system.PlatformNotSupportedException, system.NotSupportedException {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objRound = (JCObject)classType.Invoke("Round", x == null ? null : x.getJCOInstance());
return new Single(objRound);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single ScaleB(Single x, int n) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objScaleB = (JCObject)classType.Invoke("ScaleB", x == null ? null : x.getJCOInstance(), n);
return new Single(objScaleB);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Sin(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objSin = (JCObject)classType.Invoke("Sin", x == null ? null : x.getJCOInstance());
return new Single(objSin);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Sinh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objSinh = (JCObject)classType.Invoke("Sinh", x == null ? null : x.getJCOInstance());
return new Single(objSinh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single SinPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objSinPi = (JCObject)classType.Invoke("SinPi", x == null ? null : x.getJCOInstance());
return new Single(objSinPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Sqrt(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objSqrt = (JCObject)classType.Invoke("Sqrt", x == null ? null : x.getJCOInstance());
return new Single(objSqrt);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Tan(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objTan = (JCObject)classType.Invoke("Tan", x == null ? null : x.getJCOInstance());
return new Single(objTan);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Tanh(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objTanh = (JCObject)classType.Invoke("Tanh", x == null ? null : x.getJCOInstance());
return new Single(objTanh);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single TanPi(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objTanPi = (JCObject)classType.Invoke("TanPi", x == null ? null : x.getJCOInstance());
return new Single(objTanPi);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public static Single Truncate(Single x) throws Throwable {
if (classType == null)
throw new UnsupportedOperationException("classType is null.");
try {
JCObject objTruncate = (JCObject)classType.Invoke("Truncate", x == null ? null : x.getJCOInstance());
return new Single(objTruncate);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public java.lang.String ToString(IFormatProvider provider) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (java.lang.String)classInstance.Invoke("ToString", provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public java.lang.String ToString(java.lang.String format, IFormatProvider provider) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (java.lang.String)classInstance.Invoke("ToString", format, provider == null ? null : provider.getJCOInstance());
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public java.lang.String ToString(java.lang.String format) throws Throwable, system.ArgumentNullException, system.globalization.CultureNotFoundException, system.PlatformNotSupportedException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.RankException, system.IndexOutOfRangeException, system.ArrayTypeMismatchException, system.TypeInitializationException, system.FormatException {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
return (java.lang.String)classInstance.Invoke("ToString", format);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
public TypeCode GetTypeCode() throws Throwable {
if (classInstance == null)
throw new UnsupportedOperationException("classInstance is null.");
try {
JCObject objGetTypeCode = (JCObject)classInstance.Invoke("GetTypeCode");
return new TypeCode(objGetTypeCode);
} catch (JCNativeException jcne) {
throw translateException(jcne);
}
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public boolean ToBoolean(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public byte ToByte(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public char ToChar(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public double ToDouble(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public short ToInt16(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public int ToInt32(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public long ToInt64(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public SByte ToSByte(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public Single ToSingle(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public DateTime ToDateTime(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public Decimal ToDecimal(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public NetObject ToType(NetType conversionType, IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public UInt16 ToUInt16(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public UInt32 ToUInt32(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
/**
* @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
* Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
*/
@Deprecated
public UInt64 ToUInt64(IFormatProvider provider) throws Throwable {
throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
}
// Properties section
// Instance Events section
}