From 6f14e433d28249f07ccbbee3b28fa737253a4163 Mon Sep 17 00:00:00 2001 From: monojenkins Date: Mon, 30 Sep 2019 14:01:54 +0000 Subject: Apply changes from https://github.com/mono/mono/pull/17080 to API snapshot --- profiles/monodroid/Facades/netstandard.cs | 22 ++++ .../monodroid/System.Data.DataSetExtensions.cs | 107 +++++++++++++++++++ profiles/monodroid/mscorlib.cs | 117 ++++++++++++++++++++- profiles/monotouch/Facades/netstandard.cs | 22 ++++ .../monotouch/System.Data.DataSetExtensions.cs | 107 +++++++++++++++++++ profiles/monotouch/mscorlib.cs | 117 ++++++++++++++++++++- profiles/net_4_x/Facades/netstandard.cs | 22 ++++ profiles/net_4_x/System.Data.DataSetExtensions.cs | 2 + profiles/net_4_x/mscorlib.cs | 117 ++++++++++++++++++++- 9 files changed, 627 insertions(+), 6 deletions(-) create mode 100644 profiles/monodroid/System.Data.DataSetExtensions.cs create mode 100644 profiles/monotouch/System.Data.DataSetExtensions.cs 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 Default { get { throw null; } } + } + public sealed partial class DataRowComparer : System.Collections.Generic.IEqualityComparer where TRow : System.Data.DataRow + { + internal DataRowComparer() { } + public static System.Data.DataRowComparer 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(this System.Data.DataRow row, System.Data.DataColumn column) { throw null; } + public static T Field(this System.Data.DataRow row, System.Data.DataColumn column, System.Data.DataRowVersion version) { throw null; } + public static T Field(this System.Data.DataRow row, int columnIndex) { throw null; } + public static T Field(this System.Data.DataRow row, int columnIndex, System.Data.DataRowVersion version) { throw null; } + public static T Field(this System.Data.DataRow row, string columnName) { throw null; } + public static T Field(this System.Data.DataRow row, string columnName, System.Data.DataRowVersion version) { throw null; } + public static void SetField(this System.Data.DataRow row, System.Data.DataColumn column, T value) { } + public static void SetField(this System.Data.DataRow row, int columnIndex, T value) { } + public static void SetField(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(this System.Data.EnumerableRowCollection source) where T : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.DataTable source) { throw null; } + public static System.Data.DataTable CopyToDataTable(this System.Collections.Generic.IEnumerable source) where T : System.Data.DataRow { throw null; } + public static void CopyToDataTable(this System.Collections.Generic.IEnumerable source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } + public static void CopyToDataTable(this System.Collections.Generic.IEnumerable 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 Cast(this System.Data.EnumerableRowCollection source) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.EnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.EnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.EnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.EnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.EnumerableRowCollection Select(this System.Data.EnumerableRowCollection source, System.Func selector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenByDescending(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenByDescending(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenBy(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenBy(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.EnumerableRowCollection Where(this System.Data.EnumerableRowCollection source, System.Func predicate) { throw null; } + } + public partial class EnumerableRowCollection : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public sealed partial class OrderedEnumerableRowCollection : System.Data.EnumerableRowCollection + { + internal OrderedEnumerableRowCollection() { } + } + public static partial class TypedTableBaseExtensions + { + public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.TypedTableBase source) where TRow : System.Data.DataRow { throw null; } + public static TRow ElementAtOrDefault(this System.Data.TypedTableBase source, int index) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.TypedTableBase source, System.Func keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.TypedTableBase source, System.Func keySelector, System.Collections.Generic.IComparer comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.TypedTableBase source, System.Func keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.TypedTableBase source, System.Func keySelector, System.Collections.Generic.IComparer comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection Select(this System.Data.TypedTableBase source, System.Func selector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection Where(this System.Data.TypedTableBase source, System.Func predicate) where TRow : System.Data.DataRow { throw null; } + } + [System.SerializableAttribute] + public abstract partial class TypedTableBase : System.Data.DataTable, System.Collections.Generic.IEnumerable, 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 Cast() { throw null; } + public System.Collections.Generic.IEnumerator 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 : System.Buffers.IBufferWriter + { + 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 WrittenMemory { get { throw null; } } + public System.ReadOnlySpan WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory GetMemory(int sizeHint = 0) { throw null; } + public System.Span GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool { protected ArrayPool() { } @@ -5891,17 +5905,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory 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 First { get { throw null; } } + public System.ReadOnlySpan 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.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(System.ReadOnlySpan span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader where T : struct, System.IEquatable + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan 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 Sequence { get { throw null; } } + public System.ReadOnlySpan 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 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 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 delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span 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 sequence, System.ReadOnlySpan delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence sequence, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan span, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction(System.Span span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable @@ -5947,6 +6009,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan 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 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(System.Buffers.ReadOnlySequence sequence, out System.ArraySegment segment) { throw null; } public static bool TryGetReadOnlyMemory(System.Buffers.ReadOnlySequence sequence, out System.ReadOnlyMemory memory) { throw null; } public static bool TryGetReadOnlySequenceSegment(System.Buffers.ReadOnlySequence sequence, out System.Buffers.ReadOnlySequenceSegment startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment endSegment, out int endIndex) { throw null; } + public static bool TryRead(ref System.Buffers.SequenceReader 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 Default { get { throw null; } } + } + public sealed partial class DataRowComparer : System.Collections.Generic.IEqualityComparer where TRow : System.Data.DataRow + { + internal DataRowComparer() { } + public static System.Data.DataRowComparer 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(this System.Data.DataRow row, System.Data.DataColumn column) { throw null; } + public static T Field(this System.Data.DataRow row, System.Data.DataColumn column, System.Data.DataRowVersion version) { throw null; } + public static T Field(this System.Data.DataRow row, int columnIndex) { throw null; } + public static T Field(this System.Data.DataRow row, int columnIndex, System.Data.DataRowVersion version) { throw null; } + public static T Field(this System.Data.DataRow row, string columnName) { throw null; } + public static T Field(this System.Data.DataRow row, string columnName, System.Data.DataRowVersion version) { throw null; } + public static void SetField(this System.Data.DataRow row, System.Data.DataColumn column, T value) { } + public static void SetField(this System.Data.DataRow row, int columnIndex, T value) { } + public static void SetField(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(this System.Data.EnumerableRowCollection source) where T : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.DataTable source) { throw null; } + public static System.Data.DataTable CopyToDataTable(this System.Collections.Generic.IEnumerable source) where T : System.Data.DataRow { throw null; } + public static void CopyToDataTable(this System.Collections.Generic.IEnumerable source, System.Data.DataTable table, System.Data.LoadOption options) where T : System.Data.DataRow { } + public static void CopyToDataTable(this System.Collections.Generic.IEnumerable 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 Cast(this System.Data.EnumerableRowCollection source) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.EnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.EnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.EnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.EnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.EnumerableRowCollection Select(this System.Data.EnumerableRowCollection source, System.Func selector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenByDescending(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenByDescending(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenBy(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector) { throw null; } + public static System.Data.OrderedEnumerableRowCollection ThenBy(this System.Data.OrderedEnumerableRowCollection source, System.Func keySelector, System.Collections.Generic.IComparer comparer) { throw null; } + public static System.Data.EnumerableRowCollection Where(this System.Data.EnumerableRowCollection source, System.Func predicate) { throw null; } + } + public partial class EnumerableRowCollection : System.Data.EnumerableRowCollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + internal EnumerableRowCollection() { } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + } + public sealed partial class OrderedEnumerableRowCollection : System.Data.EnumerableRowCollection + { + internal OrderedEnumerableRowCollection() { } + } + public static partial class TypedTableBaseExtensions + { + public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.TypedTableBase source) where TRow : System.Data.DataRow { throw null; } + public static TRow ElementAtOrDefault(this System.Data.TypedTableBase source, int index) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.TypedTableBase source, System.Func keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderByDescending(this System.Data.TypedTableBase source, System.Func keySelector, System.Collections.Generic.IComparer comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.TypedTableBase source, System.Func keySelector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.OrderedEnumerableRowCollection OrderBy(this System.Data.TypedTableBase source, System.Func keySelector, System.Collections.Generic.IComparer comparer) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection Select(this System.Data.TypedTableBase source, System.Func selector) where TRow : System.Data.DataRow { throw null; } + public static System.Data.EnumerableRowCollection Where(this System.Data.TypedTableBase source, System.Func predicate) where TRow : System.Data.DataRow { throw null; } + } + [System.SerializableAttribute] + public abstract partial class TypedTableBase : System.Data.DataTable, System.Collections.Generic.IEnumerable, 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 Cast() { throw null; } + public System.Collections.Generic.IEnumerator 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 : System.Buffers.IBufferWriter + { + 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 WrittenMemory { get { throw null; } } + public System.ReadOnlySpan WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory GetMemory(int sizeHint = 0) { throw null; } + public System.Span GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool { protected ArrayPool() { } @@ -5892,17 +5906,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory 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 First { get { throw null; } } + public System.ReadOnlySpan 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.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(System.ReadOnlySpan span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader where T : struct, System.IEquatable + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan 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 Sequence { get { throw null; } } + public System.ReadOnlySpan 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 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 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 delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span 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 sequence, System.ReadOnlySpan delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence sequence, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan span, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction(System.Span span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable @@ -5948,6 +6010,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan 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 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(System.Buffers.ReadOnlySequence sequence, out System.ArraySegment segment) { throw null; } public static bool TryGetReadOnlyMemory(System.Buffers.ReadOnlySequence sequence, out System.ReadOnlyMemory memory) { throw null; } public static bool TryGetReadOnlySequenceSegment(System.Buffers.ReadOnlySequence sequence, out System.Buffers.ReadOnlySequenceSegment startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment endSegment, out int endIndex) { throw null; } + public static bool TryRead(ref System.Buffers.SequenceReader 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(this System.Data.EnumerableRowCollection source) where T : System.Data.DataRow { throw null; } public static System.Data.EnumerableRowCollection AsEnumerable(this System.Data.DataTable source) { throw null; } public static System.Data.DataTable CopyToDataTable(this System.Collections.Generic.IEnumerable source) where T : System.Data.DataRow { throw null; } public static void CopyToDataTable(this System.Collections.Generic.IEnumerable 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 : System.Buffers.IBufferWriter + { + 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 WrittenMemory { get { throw null; } } + public System.ReadOnlySpan WrittenSpan { get { throw null; } } + public void Advance(int count) { } + public void Clear() { } + public System.Memory GetMemory(int sizeHint = 0) { throw null; } + public System.Span GetSpan(int sizeHint = 0) { throw null; } + } public abstract partial class ArrayPool { protected ArrayPool() { } @@ -5926,17 +5940,19 @@ namespace System.Buffers public readonly partial struct ReadOnlySequence { private readonly object _dummy; + private readonly int _dummyPrimitive; public static readonly System.Buffers.ReadOnlySequence Empty; public ReadOnlySequence(System.Buffers.ReadOnlySequenceSegment startSegment, int startIndex, System.Buffers.ReadOnlySequenceSegment endSegment, int endIndex) { throw null; } public ReadOnlySequence(System.ReadOnlyMemory 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 First { get { throw null; } } + public System.ReadOnlySpan 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.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(System.ReadOnlySpan span, TArg arg); + public static partial class SequenceReaderExtensions + { + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadBigEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out short value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out int value) { throw null; } + public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader reader, out long value) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public ref partial struct SequenceReader where T : struct, System.IEquatable + { + private object _dummy; + private int _dummyPrimitive; + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public SequenceReader(System.Buffers.ReadOnlySequence sequence) { throw null; } + public long Consumed { get { throw null; } } + public System.ReadOnlySpan 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 Sequence { get { throw null; } } + public System.ReadOnlySpan 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 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 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 delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryCopyTo(System.Span 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 sequence, System.ReadOnlySpan delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.Buffers.ReadOnlySequence sequence, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, bool advancePastDelimiter = true) { throw null; } + public bool TryReadTo(out System.ReadOnlySpan span, T delimiter, T delimiterEscape, bool advancePastDelimiter = true) { throw null; } + public bool TryReadToAny(out System.Buffers.ReadOnlySequence sequence, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public bool TryReadToAny(out System.ReadOnlySpan span, System.ReadOnlySpan delimiters, bool advancePastDelimiter = true) { throw null; } + } public delegate void SpanAction(System.Span span, TArg arg); [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandardFormat : System.IEquatable @@ -5982,6 +6044,7 @@ namespace System.Buffers public static System.Buffers.StandardFormat Parse(System.ReadOnlySpan 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 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(System.Buffers.ReadOnlySequence sequence, out System.ArraySegment segment) { throw null; } public static bool TryGetReadOnlyMemory(System.Buffers.ReadOnlySequence sequence, out System.ReadOnlyMemory memory) { throw null; } public static bool TryGetReadOnlySequenceSegment(System.Buffers.ReadOnlySequence sequence, out System.Buffers.ReadOnlySequenceSegment startSegment, out int startIndex, out System.Buffers.ReadOnlySequenceSegment endSegment, out int endIndex) { throw null; } + public static bool TryRead(ref System.Buffers.SequenceReader 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)] -- cgit v1.2.3