1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

51 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>System.UInt32</Name>
<Java>long</Java>
<Inherits>
<Type>System.Number</Type>
<Type>System.IComparable</Type>
<Type>System.IFormattable</Type>
<Type>System.IConvertible</Type>
</Inherits>
<Properties>
<Property>
<Name>MinValue</Name>
<Type>System.UInt32</Type>
<Get>0</Get>
</Property>
<Property>
<Name>MaxValue</Name>
<Type>System.UInt32</Type>
<Get>4294967295L /* UInt32.MaxValue */</Get>
</Property>
</Properties>
<Methods>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Java>String.valueOf(${this})</Java>
</Method>
<Method>
<Return>System.UInt32</Return>
<Name>Parse</Name>
<Params>
<Param>
<Type>System.String</Type>
<Name>str</Name>
</Param>
</Params>
<Java>Long.valueOf(${str})</Java>
</Method>
</Methods>
<Casts>
<Cast>
<From>System.Object</From>
<To>System.UInt32</To>
<Java>((Long) ${expr})</Java>
</Cast>
</Casts>
</Class>