diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-09-27 11:30:38 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-09-27 11:30:38 +0300 |
commit | d9d12eb7ec31ead67999a3138ccc7cf339e11a64 (patch) | |
tree | d33b48c50b858877388ef40948b26b0e2e53a43b | |
parent | 0af88ec954b85a249931d304870b7043cdd8656c (diff) |
Apply changes from https://github.com/mono/mono/pull/17081 to API snapshot
-rw-r--r-- | profiles/monodroid/Facades/netstandard.cs | 86 | ||||
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 63 | ||||
-rw-r--r-- | profiles/monotouch/Facades/netstandard.cs | 86 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 63 | ||||
-rw-r--r-- | profiles/net_4_x/Facades/netstandard.cs | 86 | ||||
-rw-r--r-- | profiles/net_4_x/System.Data.DataSetExtensions.cs | 2 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 63 |
7 files changed, 449 insertions, 0 deletions
diff --git a/profiles/monodroid/Facades/netstandard.cs b/profiles/monodroid/Facades/netstandard.cs index 186dda6..77877a1 100644 --- a/profiles/monodroid/Facades/netstandard.cs +++ b/profiles/monodroid/Facades/netstandard.cs @@ -79,6 +79,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Base64FormattingOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.BitConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayBufferWriter<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayPool<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Binary.BinaryPrimitives))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.BuffersExtensions))] @@ -92,6 +93,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequence<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequenceSegment<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySpanAction<,>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReader<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SpanAction<,>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.StandardFormat))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Text.Base64))] @@ -2543,3 +2546,86 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ulong))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ushort))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(void))] +namespace System.Data +{ + public static partial class DataRowComparer + { + public static System.Data.DataRowComparer<System.Data.DataRow> Default { get { throw null; } } + } + public sealed partial class DataRowComparer<TRow> : System.Collections.Generic.IEqualityComparer<TRow> where TRow : System.Data.DataRow + { + internal DataRowComparer() { } + public static System.Data.DataRowComparer<TRow> Default { get { throw null; } } + public bool Equals(TRow leftRow, TRow rightRow) { throw null; } + public int GetHashCode(TRow row) { throw null; } + } + public static partial class DataRowExtensions + { + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column) { throw null; } + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName, System.Data.DataRowVersion version) { throw null; } + public static void SetField<T>(this System.Data.DataRow row, System.Data.DataColumn column, T value) { } + public static void SetField<T>(this System.Data.DataRow row, int columnIndex, T value) { } + public static void SetField<T>(this System.Data.DataRow row, string columnName, T value) { } + } + public static partial class DataTableExtensions + { + public static System.Data.DataView AsDataView(this System.Data.DataTable table) { throw null; } + public static System.Data.DataView AsDataView<T>(this System.Data.EnumerableRowCollection<T> source) where T : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<System.Data.DataRow> AsEnumerable(this System.Data.DataTable source) { throw null; } + public static System.Data.DataTable CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source) where T : System.Data.DataRow { throw null; } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options, System.Data.FillErrorEventHandler errorHandler) where T : System.Data.DataRow { } + } + public abstract partial class EnumerableRowCollection : System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public static partial class EnumerableRowCollectionExtensions + { + public static System.Data.EnumerableRowCollection<TResult> Cast<TResult>(this System.Data.EnumerableRowCollection source) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, S> selector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, bool> predicate) { throw null; } + } + public partial class EnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable<TRow>, System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + public System.Collections.Generic.IEnumerator<TRow> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public sealed partial class OrderedEnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection<TRow> + { + internal OrderedEnumerableRowCollection() { } + } + public static partial class TypedTableBaseExtensions + { + public static System.Data.EnumerableRowCollection<TRow> AsEnumerable<TRow>(this System.Data.TypedTableBase<TRow> source) where TRow : System.Data.DataRow { throw null; } + public static TRow ElementAtOrDefault<TRow>(this System.Data.TypedTableBase<TRow> source, int index) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, S> selector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, bool> predicate) where TRow : System.Data.DataRow { throw null; } + } + public abstract partial class TypedTableBase<T> : System.Data.DataTable, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable where T : System.Data.DataRow + { + protected TypedTableBase() { } + protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public System.Data.EnumerableRowCollection<TResult> Cast<TResult>() { throw null; } + public System.Collections.Generic.IEnumerator<T> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } +} diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index e2667e6..e7832d9 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -5807,6 +5807,20 @@ namespace System } namespace System.Buffers { + public sealed partial class ArrayBufferWriter<T> : System.Buffers.IBufferWriter<T> + { + public ArrayBufferWriter() { } + public ArrayBufferWriter(int initialCapacity) { } + public int Capacity { get { throw null; } } + public int FreeCapacity { get { throw null; } } + public int WrittenCount { get { throw null; } } + public System.ReadOnlyMemory<T> WrittenMemory { get { throw null; } } + public System.ReadOnlySpan<T> WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory<T> GetMemory(int sizeHint = 0) { throw null; } + public System.Span<T> GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool<T> { protected ArrayPool() { } @@ -5898,6 +5912,7 @@ namespace System.Buffers public ReadOnlySequence(T[] array, int start, int length) { throw null; } public System.SequencePosition End { get { throw null; } } public System.ReadOnlyMemory<T> First { get { throw null; } } + public System.ReadOnlySpan<T> FirstSpan { get { throw null; } } public bool IsEmpty { get { throw null; } } public bool IsSingleSegment { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public long Length { get { throw null; } } @@ -5926,6 +5941,52 @@ namespace System.Buffers } } public delegate void ReadOnlySpanAction<T, in TArg>(System.ReadOnlySpan<T> span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader<T> where T : struct, System.IEquatable<T> + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence<T> sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan<T> CurrentSpan { get { throw null; } } + public int CurrentSpanIndex { get { throw null; } } + public bool End { get { throw null; } } + public long Length { get { throw null; } } + public System.SequencePosition Position { get { throw null; } } + public long Remaining { get { throw null; } } + public System.Buffers.ReadOnlySequence<T> Sequence { get { throw null; } } + public System.ReadOnlySpan<T> UnreadSpan { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Advance(long count) { } + public long AdvancePast(T value) { throw null; } + public long AdvancePastAny(System.ReadOnlySpan<T> values) { throw null; } + public long AdvancePastAny(T value0, T value1) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2, T value3) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(System.ReadOnlySpan<T> next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(T next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Rewind(long count) { } + public bool TryAdvanceTo(T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryAdvanceToAny(System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span<T> destination) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryPeek(out T value) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryRead(out T value) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan<T> span, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction<T, in TArg>(System.Span<T> span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable<System.Buffers.StandardFormat> @@ -5947,6 +6008,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan<char> format) { throw null; } public static System.Buffers.StandardFormat Parse(string format) { throw null; } public override string ToString() { throw null; } + public static bool TryParse(System.ReadOnlySpan<char> format, out System.Buffers.StandardFormat result) { throw null; } } } namespace System.Buffers.Binary @@ -15529,6 +15591,7 @@ namespace System.Runtime.InteropServices public static bool TryGetArray<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ArraySegment<T> segment) { throw null; } public static bool TryGetReadOnlyMemory<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ReadOnlyMemory<T> memory) { throw null; } public static bool TryGetReadOnlySequenceSegment<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.Buffers.ReadOnlySequenceSegment<T> startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment<T> endSegment, out int endIndex) { throw null; } + public static bool TryRead<T>(ref System.Buffers.SequenceReader<byte> reader, out T value) where T : struct { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)] [System.ObsoleteAttribute("This attribute has been deprecated. Application Domains no longer respect Activation Context boundaries in IDispatch calls.", false)] diff --git a/profiles/monotouch/Facades/netstandard.cs b/profiles/monotouch/Facades/netstandard.cs index 186dda6..77877a1 100644 --- a/profiles/monotouch/Facades/netstandard.cs +++ b/profiles/monotouch/Facades/netstandard.cs @@ -79,6 +79,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Base64FormattingOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.BitConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayBufferWriter<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayPool<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Binary.BinaryPrimitives))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.BuffersExtensions))] @@ -92,6 +93,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequence<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequenceSegment<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySpanAction<,>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReader<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SpanAction<,>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.StandardFormat))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Text.Base64))] @@ -2543,3 +2546,86 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ulong))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ushort))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(void))] +namespace System.Data +{ + public static partial class DataRowComparer + { + public static System.Data.DataRowComparer<System.Data.DataRow> Default { get { throw null; } } + } + public sealed partial class DataRowComparer<TRow> : System.Collections.Generic.IEqualityComparer<TRow> where TRow : System.Data.DataRow + { + internal DataRowComparer() { } + public static System.Data.DataRowComparer<TRow> Default { get { throw null; } } + public bool Equals(TRow leftRow, TRow rightRow) { throw null; } + public int GetHashCode(TRow row) { throw null; } + } + public static partial class DataRowExtensions + { + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column) { throw null; } + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName, System.Data.DataRowVersion version) { throw null; } + public static void SetField<T>(this System.Data.DataRow row, System.Data.DataColumn column, T value) { } + public static void SetField<T>(this System.Data.DataRow row, int columnIndex, T value) { } + public static void SetField<T>(this System.Data.DataRow row, string columnName, T value) { } + } + public static partial class DataTableExtensions + { + public static System.Data.DataView AsDataView(this System.Data.DataTable table) { throw null; } + public static System.Data.DataView AsDataView<T>(this System.Data.EnumerableRowCollection<T> source) where T : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<System.Data.DataRow> AsEnumerable(this System.Data.DataTable source) { throw null; } + public static System.Data.DataTable CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source) where T : System.Data.DataRow { throw null; } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options, System.Data.FillErrorEventHandler errorHandler) where T : System.Data.DataRow { } + } + public abstract partial class EnumerableRowCollection : System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public static partial class EnumerableRowCollectionExtensions + { + public static System.Data.EnumerableRowCollection<TResult> Cast<TResult>(this System.Data.EnumerableRowCollection source) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, S> selector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, bool> predicate) { throw null; } + } + public partial class EnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable<TRow>, System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + public System.Collections.Generic.IEnumerator<TRow> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public sealed partial class OrderedEnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection<TRow> + { + internal OrderedEnumerableRowCollection() { } + } + public static partial class TypedTableBaseExtensions + { + public static System.Data.EnumerableRowCollection<TRow> AsEnumerable<TRow>(this System.Data.TypedTableBase<TRow> source) where TRow : System.Data.DataRow { throw null; } + public static TRow ElementAtOrDefault<TRow>(this System.Data.TypedTableBase<TRow> source, int index) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, S> selector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, bool> predicate) where TRow : System.Data.DataRow { throw null; } + } + public abstract partial class TypedTableBase<T> : System.Data.DataTable, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable where T : System.Data.DataRow + { + protected TypedTableBase() { } + protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public System.Data.EnumerableRowCollection<TResult> Cast<TResult>() { throw null; } + public System.Collections.Generic.IEnumerator<T> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } +} diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index 622e527..7efd2fc 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -5808,6 +5808,20 @@ namespace System } namespace System.Buffers { + public sealed partial class ArrayBufferWriter<T> : System.Buffers.IBufferWriter<T> + { + public ArrayBufferWriter() { } + public ArrayBufferWriter(int initialCapacity) { } + public int Capacity { get { throw null; } } + public int FreeCapacity { get { throw null; } } + public int WrittenCount { get { throw null; } } + public System.ReadOnlyMemory<T> WrittenMemory { get { throw null; } } + public System.ReadOnlySpan<T> WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory<T> GetMemory(int sizeHint = 0) { throw null; } + public System.Span<T> GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool<T> { protected ArrayPool() { } @@ -5899,6 +5913,7 @@ namespace System.Buffers public ReadOnlySequence(T[] array, int start, int length) { throw null; } public System.SequencePosition End { get { throw null; } } public System.ReadOnlyMemory<T> First { get { throw null; } } + public System.ReadOnlySpan<T> FirstSpan { get { throw null; } } public bool IsEmpty { get { throw null; } } public bool IsSingleSegment { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public long Length { get { throw null; } } @@ -5927,6 +5942,52 @@ namespace System.Buffers } } public delegate void ReadOnlySpanAction<T, in TArg>(System.ReadOnlySpan<T> span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader<T> where T : struct, System.IEquatable<T> + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence<T> sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan<T> CurrentSpan { get { throw null; } } + public int CurrentSpanIndex { get { throw null; } } + public bool End { get { throw null; } } + public long Length { get { throw null; } } + public System.SequencePosition Position { get { throw null; } } + public long Remaining { get { throw null; } } + public System.Buffers.ReadOnlySequence<T> Sequence { get { throw null; } } + public System.ReadOnlySpan<T> UnreadSpan { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Advance(long count) { } + public long AdvancePast(T value) { throw null; } + public long AdvancePastAny(System.ReadOnlySpan<T> values) { throw null; } + public long AdvancePastAny(T value0, T value1) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2, T value3) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(System.ReadOnlySpan<T> next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(T next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Rewind(long count) { } + public bool TryAdvanceTo(T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryAdvanceToAny(System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span<T> destination) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryPeek(out T value) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryRead(out T value) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan<T> span, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction<T, in TArg>(System.Span<T> span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable<System.Buffers.StandardFormat> @@ -5948,6 +6009,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan<char> format) { throw null; } public static System.Buffers.StandardFormat Parse(string format) { throw null; } public override string ToString() { throw null; } + public static bool TryParse(System.ReadOnlySpan<char> format, out System.Buffers.StandardFormat result) { throw null; } } } namespace System.Buffers.Binary @@ -15343,6 +15405,7 @@ namespace System.Runtime.InteropServices public static bool TryGetArray<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ArraySegment<T> segment) { throw null; } public static bool TryGetReadOnlyMemory<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ReadOnlyMemory<T> memory) { throw null; } public static bool TryGetReadOnlySequenceSegment<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.Buffers.ReadOnlySequenceSegment<T> startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment<T> endSegment, out int endIndex) { throw null; } + public static bool TryRead<T>(ref System.Buffers.SequenceReader<byte> reader, out T value) where T : struct { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)] [System.ObsoleteAttribute("This attribute has been deprecated. Application Domains no longer respect Activation Context boundaries in IDispatch calls.", false)] diff --git a/profiles/net_4_x/Facades/netstandard.cs b/profiles/net_4_x/Facades/netstandard.cs index 186dda6..77877a1 100644 --- a/profiles/net_4_x/Facades/netstandard.cs +++ b/profiles/net_4_x/Facades/netstandard.cs @@ -79,6 +79,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Base64FormattingOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.BitConverter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayBufferWriter<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ArrayPool<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Binary.BinaryPrimitives))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.BuffersExtensions))] @@ -92,6 +93,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequence<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySequenceSegment<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.ReadOnlySpanAction<,>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReader<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SequenceReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.SpanAction<,>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.StandardFormat))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Buffers.Text.Base64))] @@ -2543,3 +2546,86 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ulong))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(ushort))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(void))] +namespace System.Data +{ + public static partial class DataRowComparer + { + public static System.Data.DataRowComparer<System.Data.DataRow> Default { get { throw null; } } + } + public sealed partial class DataRowComparer<TRow> : System.Collections.Generic.IEqualityComparer<TRow> where TRow : System.Data.DataRow + { + internal DataRowComparer() { } + public static System.Data.DataRowComparer<TRow> Default { get { throw null; } } + public bool Equals(TRow leftRow, TRow rightRow) { throw null; } + public int GetHashCode(TRow row) { throw null; } + } + public static partial class DataRowExtensions + { + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column) { throw null; } + public static T Field<T>(this System.Data.DataRow row, System.Data.DataColumn column, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex) { throw null; } + public static T Field<T>(this System.Data.DataRow row, int columnIndex, System.Data.DataRowVersion version) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName) { throw null; } + public static T Field<T>(this System.Data.DataRow row, string columnName, System.Data.DataRowVersion version) { throw null; } + public static void SetField<T>(this System.Data.DataRow row, System.Data.DataColumn column, T value) { } + public static void SetField<T>(this System.Data.DataRow row, int columnIndex, T value) { } + public static void SetField<T>(this System.Data.DataRow row, string columnName, T value) { } + } + public static partial class DataTableExtensions + { + public static System.Data.DataView AsDataView(this System.Data.DataTable table) { throw null; } + public static System.Data.DataView AsDataView<T>(this System.Data.EnumerableRowCollection<T> source) where T : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<System.Data.DataRow> AsEnumerable(this System.Data.DataTable source) { throw null; } + public static System.Data.DataTable CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source) where T : System.Data.DataRow { throw null; } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } + public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options, System.Data.FillErrorEventHandler errorHandler) where T : System.Data.DataRow { } + } + public abstract partial class EnumerableRowCollection : System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public static partial class EnumerableRowCollectionExtensions + { + public static System.Data.EnumerableRowCollection<TResult> Cast<TResult>(this System.Data.EnumerableRowCollection source) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, S> selector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenByDescending<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> ThenBy<TRow, TKey>(this System.Data.OrderedEnumerableRowCollection<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.EnumerableRowCollection<TRow> source, System.Func<TRow, bool> predicate) { throw null; } + } + public partial class EnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable<TRow>, System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + public System.Collections.Generic.IEnumerator<TRow> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public sealed partial class OrderedEnumerableRowCollection<TRow> : System.Data.EnumerableRowCollection<TRow> + { + internal OrderedEnumerableRowCollection() { } + } + public static partial class TypedTableBaseExtensions + { + public static System.Data.EnumerableRowCollection<TRow> AsEnumerable<TRow>(this System.Data.TypedTableBase<TRow> source) where TRow : System.Data.DataRow { throw null; } + public static TRow ElementAtOrDefault<TRow>(this System.Data.TypedTableBase<TRow> source, int index) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection<TRow> OrderBy<TRow, TKey>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<S> Select<TRow, S>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, S> selector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.TypedTableBase<TRow> source, System.Func<TRow, bool> predicate) where TRow : System.Data.DataRow { throw null; } + } + public abstract partial class TypedTableBase<T> : System.Data.DataTable, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable where T : System.Data.DataRow + { + protected TypedTableBase() { } + protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public System.Data.EnumerableRowCollection<TResult> Cast<TResult>() { throw null; } + public System.Collections.Generic.IEnumerator<T> GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } +} diff --git a/profiles/net_4_x/System.Data.DataSetExtensions.cs b/profiles/net_4_x/System.Data.DataSetExtensions.cs index 2a31d35..8adb50d 100644 --- a/profiles/net_4_x/System.Data.DataSetExtensions.cs +++ b/profiles/net_4_x/System.Data.DataSetExtensions.cs @@ -48,6 +48,8 @@ namespace System.Data } public static partial class DataTableExtensions { + public static System.Data.DataView AsDataView(this System.Data.DataTable table) { throw null; } + public static System.Data.DataView AsDataView<T>(this System.Data.EnumerableRowCollection<T> source) where T : System.Data.DataRow { throw null; } public static System.Data.EnumerableRowCollection<System.Data.DataRow> AsEnumerable(this System.Data.DataTable source) { throw null; } public static System.Data.DataTable CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source) where T : System.Data.DataRow { throw null; } public static void CopyToDataTable<T>(this System.Collections.Generic.IEnumerable<T> source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index 33f406a..2b58c9d 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -5835,6 +5835,20 @@ namespace System } namespace System.Buffers { + public sealed partial class ArrayBufferWriter<T> : System.Buffers.IBufferWriter<T> + { + public ArrayBufferWriter() { } + public ArrayBufferWriter(int initialCapacity) { } + public int Capacity { get { throw null; } } + public int FreeCapacity { get { throw null; } } + public int WrittenCount { get { throw null; } } + public System.ReadOnlyMemory<T> WrittenMemory { get { throw null; } } + public System.ReadOnlySpan<T> WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory<T> GetMemory(int sizeHint = 0) { throw null; } + public System.Span<T> GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool<T> { protected ArrayPool() { } @@ -5926,6 +5940,7 @@ namespace System.Buffers public ReadOnlySequence(T[] array, int start, int length) { throw null; } public System.SequencePosition End { get { throw null; } } public System.ReadOnlyMemory<T> First { get { throw null; } } + public System.ReadOnlySpan<T> FirstSpan { get { throw null; } } public bool IsEmpty { get { throw null; } } public bool IsSingleSegment { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public long Length { get { throw null; } } @@ -5954,6 +5969,52 @@ namespace System.Buffers } } public delegate void ReadOnlySpanAction<T, in TArg>(System.ReadOnlySpan<T> span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader<T> where T : struct, System.IEquatable<T> + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence<T> sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan<T> CurrentSpan { get { throw null; } } + public int CurrentSpanIndex { get { throw null; } } + public bool End { get { throw null; } } + public long Length { get { throw null; } } + public System.SequencePosition Position { get { throw null; } } + public long Remaining { get { throw null; } } + public System.Buffers.ReadOnlySequence<T> Sequence { get { throw null; } } + public System.ReadOnlySpan<T> UnreadSpan { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Advance(long count) { } + public long AdvancePast(T value) { throw null; } + public long AdvancePastAny(System.ReadOnlySpan<T> values) { throw null; } + public long AdvancePastAny(T value0, T value1) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2) { throw null; } + public long AdvancePastAny(T value0, T value1, T value2, T value3) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(System.ReadOnlySpan<T> next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool IsNext(T next, bool advancePast = false) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Rewind(long count) { } + public bool TryAdvanceTo(T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryAdvanceToAny(System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span<T> destination) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryPeek(out T value) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryRead(out T value) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence<T> sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan<T> span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence<T> sequence, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan<T> span, System.ReadOnlySpan<T> delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction<T, in TArg>(System.Span<T> span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable<System.Buffers.StandardFormat> @@ -5975,6 +6036,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan<char> format) { throw null; } public static System.Buffers.StandardFormat Parse(string format) { throw null; } public override string ToString() { throw null; } + public static bool TryParse(System.ReadOnlySpan<char> format, out System.Buffers.StandardFormat result) { throw null; } } } namespace System.Buffers.Binary @@ -15677,6 +15739,7 @@ namespace System.Runtime.InteropServices public static bool TryGetArray<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ArraySegment<T> segment) { throw null; } public static bool TryGetReadOnlyMemory<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.ReadOnlyMemory<T> memory) { throw null; } public static bool TryGetReadOnlySequenceSegment<T>(System.Buffers.ReadOnlySequence<T> sequence, out System.Buffers.ReadOnlySequenceSegment<T> startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment<T> endSegment, out int endIndex) { throw null; } + public static bool TryRead<T>(ref System.Buffers.SequenceReader<byte> reader, out T value) where T : struct { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)] [System.ObsoleteAttribute("This attribute has been deprecated. Application Domains no longer respect Activation Context boundaries in IDispatch calls.", false)] |