diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-09-30 17:01:54 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-09-30 17:01:54 +0300 |
commit | 6f14e433d28249f07ccbbee3b28fa737253a4163 (patch) | |
tree | 1ea40f83559a1d601a038a78c9bd0856b5eb3937 | |
parent | 258eb4aaf4ab516204263c80a3004da4da779752 (diff) |
Apply changes from https://github.com/mono/mono/pull/17080 to API snapshot
-rw-r--r-- | profiles/monodroid/Facades/netstandard.cs | 22 | ||||
-rw-r--r-- | profiles/monodroid/System.Data.DataSetExtensions.cs | 107 | ||||
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 117 | ||||
-rw-r--r-- | profiles/monotouch/Facades/netstandard.cs | 22 | ||||
-rw-r--r-- | profiles/monotouch/System.Data.DataSetExtensions.cs | 107 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 117 | ||||
-rw-r--r-- | profiles/net_4_x/Facades/netstandard.cs | 22 | ||||
-rw-r--r-- | profiles/net_4_x/System.Data.DataSetExtensions.cs | 2 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 117 |
9 files changed, 627 insertions, 6 deletions
diff --git a/profiles/monodroid/Facades/netstandard.cs b/profiles/monodroid/Facades/netstandard.cs index faec721..9072ff6 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))] @@ -515,6 +518,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowState))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowVersion))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowView))] @@ -525,6 +531,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableReader))] @@ -537,6 +544,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DbType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DeletedRowInaccessibleException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DuplicateNameException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollectionExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EvaluateException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventHandler))] @@ -569,6 +579,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingPrimaryKeyException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingSchemaAction))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.NoNullAllowedException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.OrderedEnumerableRowCollection<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ParameterDirection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.PropertyCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ReadOnlyException))] @@ -609,6 +620,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StatementType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StrongTypingException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.SyntaxErrorException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBase<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBaseExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UniqueConstraint))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateRowSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateStatus))] @@ -623,7 +636,16 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DBNull))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Delegate))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.BooleanSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.AllowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.SuppressMessageAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.ConditionalAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.Contract))] diff --git a/profiles/monodroid/System.Data.DataSetExtensions.cs b/profiles/monodroid/System.Data.DataSetExtensions.cs new file mode 100644 index 0000000..0971f7d --- /dev/null +++ b/profiles/monodroid/System.Data.DataSetExtensions.cs @@ -0,0 +1,107 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Reflection.AssemblyVersionAttribute("2.0.5.0")] +[assembly:System.CLSCompliantAttribute(true)] +[assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] +[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] +[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("4.0.50524.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.0.50524.0")] +[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] +[assembly:System.Reflection.AssemblyTitleAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] +[assembly:System.Resources.SatelliteContractVersionAttribute("2.0.5.0")] +[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(System.Runtime.CompilerServices.CompilationRelaxations.NoStringInterning)] +[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] +[assembly:System.Runtime.InteropServices.ComCompatibleVersionAttribute(1, 0, 3300, 0)] +[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly:System.Security.AllowPartiallyTrustedCallersAttribute] +[assembly:System.Security.SecurityCriticalAttribute] +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; } + } + [System.SerializableAttribute] + 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 60e8fab..035eb5b 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() { } @@ -5891,17 +5905,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence<T> { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence<T> Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment<T> startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment<T> endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory<T> memory) { throw null; } public ReadOnlySequence(T[] array) { throw null; } public ReadOnlySequence(T[] array, int start, int length) { throw null; } - public System.SequencePosition End { get { throw null; } } + public System.SequencePosition End { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]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; } } - public System.SequencePosition Start { get { throw null; } } + public System.SequencePosition Start { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public System.Buffers.ReadOnlySequence<T>.Enumerator GetEnumerator() { throw null; } public System.SequencePosition GetPosition(long offset) { throw null; } public System.SequencePosition GetPosition(long offset, System.SequencePosition origin) { throw null; } @@ -5926,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> @@ -5947,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 @@ -7507,6 +7570,55 @@ namespace System.Diagnostics } namespace System.Diagnostics.CodeAnalysis { + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class AllowNullAttribute : System.Attribute + { + public AllowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class DisallowNullAttribute : System.Attribute + { + public DisallowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] + public sealed partial class DoesNotReturnAttribute : System.Attribute + { + public DoesNotReturnAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class DoesNotReturnIfAttribute : System.Attribute + { + public DoesNotReturnIfAttribute(bool parameterValue) { } + public bool ParameterValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class MaybeNullAttribute : System.Attribute + { + public MaybeNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class MaybeNullWhenAttribute : System.Attribute + { + public MaybeNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class NotNullAttribute : System.Attribute + { + public NotNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, AllowMultiple=true, Inherited=false)] + public sealed partial class NotNullIfNotNullAttribute : System.Attribute + { + public NotNullIfNotNullAttribute(string parameterName) { } + public string ParameterName { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class NotNullWhenAttribute : System.Attribute + { + public NotNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=false, AllowMultiple=true)] [System.Diagnostics.ConditionalAttribute("CODE_ANALYSIS")] public sealed partial class SuppressMessageAttribute : System.Attribute @@ -15480,6 +15592,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 faec721..9072ff6 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))] @@ -515,6 +518,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowState))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowVersion))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowView))] @@ -525,6 +531,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableReader))] @@ -537,6 +544,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DbType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DeletedRowInaccessibleException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DuplicateNameException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollectionExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EvaluateException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventHandler))] @@ -569,6 +579,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingPrimaryKeyException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingSchemaAction))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.NoNullAllowedException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.OrderedEnumerableRowCollection<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ParameterDirection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.PropertyCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ReadOnlyException))] @@ -609,6 +620,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StatementType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StrongTypingException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.SyntaxErrorException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBase<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBaseExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UniqueConstraint))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateRowSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateStatus))] @@ -623,7 +636,16 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DBNull))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Delegate))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.BooleanSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.AllowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.SuppressMessageAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.ConditionalAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.Contract))] diff --git a/profiles/monotouch/System.Data.DataSetExtensions.cs b/profiles/monotouch/System.Data.DataSetExtensions.cs new file mode 100644 index 0000000..0971f7d --- /dev/null +++ b/profiles/monotouch/System.Data.DataSetExtensions.cs @@ -0,0 +1,107 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +[assembly:System.Reflection.AssemblyVersionAttribute("2.0.5.0")] +[assembly:System.CLSCompliantAttribute(true)] +[assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] +[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] +[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("4.0.50524.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.0.50524.0")] +[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] +[assembly:System.Reflection.AssemblyTitleAttribute("System.Data.DataSetExtensions.dll")] +[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] +[assembly:System.Resources.SatelliteContractVersionAttribute("2.0.5.0")] +[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(System.Runtime.CompilerServices.CompilationRelaxations.NoStringInterning)] +[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] +[assembly:System.Runtime.InteropServices.ComCompatibleVersionAttribute(1, 0, 3300, 0)] +[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly:System.Security.AllowPartiallyTrustedCallersAttribute] +[assembly:System.Security.SecurityCriticalAttribute] +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; } + } + [System.SerializableAttribute] + 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 d032e2d..af5e5a7 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() { } @@ -5892,17 +5906,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence<T> { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence<T> Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment<T> startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment<T> endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory<T> memory) { throw null; } public ReadOnlySequence(T[] array) { throw null; } public ReadOnlySequence(T[] array, int start, int length) { throw null; } - public System.SequencePosition End { get { throw null; } } + public System.SequencePosition End { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]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; } } - public System.SequencePosition Start { get { throw null; } } + public System.SequencePosition Start { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public System.Buffers.ReadOnlySequence<T>.Enumerator GetEnumerator() { throw null; } public System.SequencePosition GetPosition(long offset) { throw null; } public System.SequencePosition GetPosition(long offset, System.SequencePosition origin) { throw null; } @@ -5927,6 +5943,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 +6010,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 @@ -7508,6 +7571,55 @@ namespace System.Diagnostics } namespace System.Diagnostics.CodeAnalysis { + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class AllowNullAttribute : System.Attribute + { + public AllowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class DisallowNullAttribute : System.Attribute + { + public DisallowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] + public sealed partial class DoesNotReturnAttribute : System.Attribute + { + public DoesNotReturnAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class DoesNotReturnIfAttribute : System.Attribute + { + public DoesNotReturnIfAttribute(bool parameterValue) { } + public bool ParameterValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class MaybeNullAttribute : System.Attribute + { + public MaybeNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class MaybeNullWhenAttribute : System.Attribute + { + public MaybeNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class NotNullAttribute : System.Attribute + { + public NotNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, AllowMultiple=true, Inherited=false)] + public sealed partial class NotNullIfNotNullAttribute : System.Attribute + { + public NotNullIfNotNullAttribute(string parameterName) { } + public string ParameterName { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class NotNullWhenAttribute : System.Attribute + { + public NotNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=false, AllowMultiple=true)] [System.Diagnostics.ConditionalAttribute("CODE_ANALYSIS")] public sealed partial class SuppressMessageAttribute : System.Attribute @@ -15294,6 +15406,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 faec721..9072ff6 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))] @@ -515,6 +518,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowComparer<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowState))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowVersion))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRowView))] @@ -525,6 +531,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableClearEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableNewRowEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataTableReader))] @@ -537,6 +544,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DbType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DeletedRowInaccessibleException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DuplicateNameException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollection<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EnumerableRowCollectionExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.EvaluateException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventArgs))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.FillErrorEventHandler))] @@ -569,6 +579,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingPrimaryKeyException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.MissingSchemaAction))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.NoNullAllowedException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.OrderedEnumerableRowCollection<>))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ParameterDirection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.PropertyCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.ReadOnlyException))] @@ -609,6 +620,8 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StatementType))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.StrongTypingException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.SyntaxErrorException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBase<>))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.TypedTableBaseExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UniqueConstraint))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateRowSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.UpdateStatus))] @@ -623,7 +636,16 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DBNull))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Delegate))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.BooleanSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.AllowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DisallowNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.NotNullWhenAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.SuppressMessageAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.ConditionalAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.Contract))] 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 118bf07..a6ead72 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -5842,6 +5842,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,17 +5940,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence<T> { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence<T> Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment<T> startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment<T> endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory<T> memory) { throw null; } public ReadOnlySequence(T[] array) { throw null; } public ReadOnlySequence(T[] array, int start, int length) { throw null; } - public System.SequencePosition End { get { throw null; } } + public System.SequencePosition End { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]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; } } - public System.SequencePosition Start { get { throw null; } } + public System.SequencePosition Start { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]get { throw null; } } public System.Buffers.ReadOnlySequence<T>.Enumerator GetEnumerator() { throw null; } public System.SequencePosition GetPosition(long offset) { throw null; } public System.SequencePosition GetPosition(long offset, System.SequencePosition origin) { throw null; } @@ -5961,6 +5977,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> @@ -5982,6 +6044,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 @@ -7542,6 +7605,55 @@ namespace System.Diagnostics } namespace System.Diagnostics.CodeAnalysis { + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class AllowNullAttribute : System.Attribute + { + public AllowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class DisallowNullAttribute : System.Attribute + { + public DisallowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] + public sealed partial class DoesNotReturnAttribute : System.Attribute + { + public DoesNotReturnAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class DoesNotReturnIfAttribute : System.Attribute + { + public DoesNotReturnIfAttribute(bool parameterValue) { } + public bool ParameterValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class MaybeNullAttribute : System.Attribute + { + public MaybeNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class MaybeNullWhenAttribute : System.Attribute + { + public MaybeNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class NotNullAttribute : System.Attribute + { + public NotNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, AllowMultiple=true, Inherited=false)] + public sealed partial class NotNullIfNotNullAttribute : System.Attribute + { + public NotNullIfNotNullAttribute(string parameterName) { } + public string ParameterName { get { throw null; } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class NotNullWhenAttribute : System.Attribute + { + public NotNullWhenAttribute(bool returnValue) { } + public bool ReturnValue { get { throw null; } } + } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=false, AllowMultiple=true)] [System.Diagnostics.ConditionalAttribute("CODE_ANALYSIS")] public sealed partial class SuppressMessageAttribute : System.Attribute @@ -15643,6 +15755,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)] |