Imported Upstream version 5.20.0.180

Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-02-04 20:11:37 +00:00
parent 0e2d47d1c8
commit 0510252385
3360 changed files with 83827 additions and 39243 deletions

View File

@@ -27,14 +27,20 @@
//
namespace System.Runtime.CompilerServices {
[AttributeUsage (AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = true)]
[AttributeUsage (AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, AllowMultiple = true)]
/*public*/ sealed class PreserveDependencyAttribute : Attribute {
public PreserveDependencyAttribute (string metadataSignature)
public PreserveDependencyAttribute (string memberSignature)
{
}
public PreserveDependencyAttribute (string metadataSignature, string condition)
public PreserveDependencyAttribute (string memberSignature, string typeName)
{
}
public PreserveDependencyAttribute (string memberSignature, string typeName, string assembly)
{
}
public string Condition { get; set; }
}
}

View File

@@ -133,6 +133,15 @@ namespace System.Runtime.CompilerServices
throw new NotImplementedException ();
}
public static bool IsAddressGreaterThan<T>(ref T left, ref T right)
{
throw new NotImplementedException ();
}
public static bool IsAddressLessThan<T>(ref T left, ref T right)
{
throw new NotImplementedException ();
}
[MethodImpl (MethodImplOptions.AggressiveInlining)]
unsafe internal static ref T AddByteOffset<T> (ref T source, nuint byteOffset)