Imported Upstream version 4.2.0.179

Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
This commit is contained in:
Xamarin Public Jenkins
2015-08-26 07:17:56 -04:00
committed by Jo Shields
parent aa7da660d6
commit c042cd0c52
7507 changed files with 90259 additions and 657307 deletions

View File

@@ -25,13 +25,12 @@ namespace System
public struct UInt64 {}
public struct IntPtr {}
public struct UIntPtr {}
public struct Decimal { }
public class String { }
public class Delegate {}
public class MulticastDelegate {}
public class Array {}
public class Exception {}
public class Type {}
public partial class Type {}
public class ValueType {}
public class Enum {}
public class Attribute {}
@@ -42,6 +41,43 @@ namespace System
public struct RuntimeFieldHandle {}
public interface IDisposable {}
public struct Decimal {
private int flags;
public Decimal(int[] bits) {
flags = 0;
SetBits(bits);
}
public Decimal (int i)
{
flags = 0;
}
private void SetBits(int[] bits) {
}
}
partial class Type
{
public static bool operator == (Type left, Type right)
{
return false;
}
public static bool operator != (Type left, Type right)
{
return true;
}
void Foo ()
{
Decimal d = 0;
var d2 = d;
}
}
}
namespace System.Runtime.InteropServices
@@ -60,4 +96,3 @@ namespace System.Reflection
{
public class DefaultMemberAttribute {}
}