diff --git a/dir.props b/dir.props index db8965d74a80..b9f3ab572cdd 100644 --- a/dir.props +++ b/dir.props @@ -231,6 +231,11 @@ true + + + $(NoWarn);0169;0649 + + $(SourceDir)Common\src diff --git a/src/System.Collections.Immutable/ref/System.Collections.Immutable.cs b/src/System.Collections.Immutable/ref/System.Collections.Immutable.cs index 6815c08199a1..d78033ec633e 100644 --- a/src/System.Collections.Immutable/ref/System.Collections.Immutable.cs +++ b/src/System.Collections.Immutable/ref/System.Collections.Immutable.cs @@ -93,17 +93,14 @@ public static partial class ImmutableArray public static System.Collections.Immutable.ImmutableArray Create(T[] items, int start, int length) { throw null; } public static System.Collections.Immutable.ImmutableArray ToImmutableArray(this System.Collections.Generic.IEnumerable items) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ImmutableArray : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.Immutable.IImmutableList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IEquatable> { + internal T[] array; public static readonly System.Collections.Immutable.ImmutableArray Empty; public bool IsDefault { get { throw null; } } public bool IsDefaultOrEmpty { get { throw null; } } public bool IsEmpty { get { throw null; } } public T this[int index] { get { throw null; } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif public int Length { get { throw null; } } int System.Collections.Generic.ICollection.Count { get { throw null; } } bool System.Collections.Generic.ICollection.IsReadOnly { get { throw null; } } @@ -139,6 +136,9 @@ public void CopyTo(T[] destination, int destinationIndex) { } public System.Collections.Immutable.ImmutableArray Insert(int index, T item) { throw null; } public System.Collections.Immutable.ImmutableArray InsertRange(int index, System.Collections.Generic.IEnumerable items) { throw null; } public System.Collections.Immutable.ImmutableArray InsertRange(int index, System.Collections.Immutable.ImmutableArray items) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public int LastIndexOf(T item) { throw null; } public int LastIndexOf(T item, int startIndex) { throw null; } public int LastIndexOf(T item, int startIndex, int count) { throw null; } @@ -201,9 +201,6 @@ internal Builder() { } public int Capacity { get { throw null; } set { } } public int Count { get { throw null; } set { } } public T this[int index] { get { throw null; } set { } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif bool System.Collections.Generic.ICollection.IsReadOnly { get { throw null; } } public void Add(T item) { } public void AddRange(System.Collections.Generic.IEnumerable items) { } @@ -224,6 +221,9 @@ public void CopyTo(T[] array, int index) { } public int IndexOf(T item, int startIndex, int count) { throw null; } public int IndexOf(T item, int startIndex, int count, System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } public void Insert(int index, T item) { } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public int LastIndexOf(T item) { throw null; } public int LastIndexOf(T item, int startIndex) { throw null; } public int LastIndexOf(T item, int startIndex, int count) { throw null; } @@ -241,9 +241,9 @@ public void Sort(int index, int count, System.Collections.Generic.IComparer c public T[] ToArray() { throw null; } public System.Collections.Immutable.ImmutableArray ToImmutable() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator { + private readonly T[] _array; public T Current { get { throw null; } } public bool MoveNext() { throw null; } } @@ -326,8 +326,8 @@ void System.Collections.IDictionary.Remove(object key) { } System.Collections.Immutable.IImmutableDictionary System.Collections.Immutable.IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } System.Collections.Immutable.IImmutableDictionary System.Collections.Immutable.IImmutableDictionary.SetItems(System.Collections.Generic.IEnumerable> items) { throw null; } public System.Collections.Immutable.ImmutableDictionary.Builder ToBuilder() { throw null; } - public bool TryGetKey(TKey equalKey, out TKey actualKey) { actualKey = default(TKey); throw null; } - public bool TryGetValue(TKey key, out TValue value) { value = default(TValue); throw null; } + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + public bool TryGetValue(TKey key, out TValue value) { throw null; } public System.Collections.Immutable.ImmutableDictionary WithComparers(System.Collections.Generic.IEqualityComparer keyComparer) { throw null; } public System.Collections.Immutable.ImmutableDictionary WithComparers(System.Collections.Generic.IEqualityComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) { throw null; } public sealed partial class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable @@ -371,12 +371,12 @@ void System.Collections.IDictionary.Add(object key, object value) { } void System.Collections.IDictionary.Remove(object key) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } public System.Collections.Immutable.ImmutableDictionary ToImmutable() { throw null; } - public bool TryGetKey(TKey equalKey, out TKey actualKey) { actualKey = default(TKey); throw null; } - public bool TryGetValue(TKey key, out TValue value) { value = default(TValue); throw null; } + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + public bool TryGetValue(TKey key, out TValue value) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Collections.Generic.KeyValuePair Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -443,7 +443,7 @@ void System.Collections.ICollection.CopyTo(System.Array array, int arrayIndex) { System.Collections.Immutable.IImmutableSet System.Collections.Immutable.IImmutableSet.SymmetricExcept(System.Collections.Generic.IEnumerable other) { throw null; } System.Collections.Immutable.IImmutableSet System.Collections.Immutable.IImmutableSet.Union(System.Collections.Generic.IEnumerable other) { throw null; } public System.Collections.Immutable.ImmutableHashSet.Builder ToBuilder() { throw null; } - public bool TryGetValue(T equalValue, out T actualValue) { actualValue = default(T); throw null; } + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } public System.Collections.Immutable.ImmutableHashSet Union(System.Collections.Generic.IEnumerable other) { throw null; } public System.Collections.Immutable.ImmutableHashSet WithComparer(System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } public sealed partial class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.IEnumerable @@ -473,9 +473,9 @@ void System.Collections.Generic.ICollection.CopyTo(T[] array, int arrayIndex) public System.Collections.Immutable.ImmutableHashSet ToImmutable() { throw null; } public void UnionWith(System.Collections.Generic.IEnumerable other) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -496,9 +496,9 @@ public static void Enqueue(ref System.Collections.Immutable.ImmutableQueue public static bool InterlockedInitialize(ref System.Collections.Immutable.ImmutableArray location, System.Collections.Immutable.ImmutableArray value) { throw null; } public static void Push(ref System.Collections.Immutable.ImmutableStack location, T value) { } public static bool TryAdd(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, TValue value) { throw null; } - public static bool TryDequeue(ref System.Collections.Immutable.ImmutableQueue location, out T value) { value = default(T); throw null; } - public static bool TryPop(ref System.Collections.Immutable.ImmutableStack location, out T value) { value = default(T); throw null; } - public static bool TryRemove(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, out TValue value) { value = default(TValue); throw null; } + public static bool TryDequeue(ref System.Collections.Immutable.ImmutableQueue location, out T value) { throw null; } + public static bool TryPop(ref System.Collections.Immutable.ImmutableStack location, out T value) { throw null; } + public static bool TryRemove(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, out TValue value) { throw null; } public static bool TryUpdate(ref System.Collections.Immutable.ImmutableDictionary location, TKey key, TValue newValue, TValue comparisonValue) { throw null; } public static bool Update(ref T location, System.Func transformer) where T : class { throw null; } public static bool Update(ref T location, System.Func transformer, TArg transformerArgument) where T : class { throw null; } @@ -530,9 +530,6 @@ internal ImmutableList() { } public int Count { get { throw null; } } public bool IsEmpty { get { throw null; } } public T this[int index] { get { throw null; } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif bool System.Collections.Generic.ICollection.IsReadOnly { get { throw null; } } T System.Collections.Generic.IList.this[int index] { get { throw null; } set { } } bool System.Collections.ICollection.IsSynchronized { get { throw null; } } @@ -568,6 +565,9 @@ public void ForEach(System.Action action) { } public int IndexOf(T item, int index, int count, System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } public System.Collections.Immutable.ImmutableList Insert(int index, T item) { throw null; } public System.Collections.Immutable.ImmutableList InsertRange(int index, System.Collections.Generic.IEnumerable items) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public int LastIndexOf(T item, int index, int count, System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } public System.Collections.Immutable.ImmutableList Remove(T value) { throw null; } public System.Collections.Immutable.ImmutableList Remove(T value, System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } @@ -619,9 +619,6 @@ public sealed partial class Builder : System.Collections.Generic.ICollection, internal Builder() { } public int Count { get { throw null; } } public T this[int index] { get { throw null; } set { } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif bool System.Collections.Generic.ICollection.IsReadOnly { get { throw null; } } bool System.Collections.ICollection.IsSynchronized { get { throw null; } } object System.Collections.ICollection.SyncRoot { get { throw null; } } @@ -658,6 +655,9 @@ public void ForEach(System.Action action) { } public int IndexOf(T item, int index, int count, System.Collections.Generic.IEqualityComparer equalityComparer) { throw null; } public void Insert(int index, T item) { } public void InsertRange(int index, System.Collections.Generic.IEnumerable items) { } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public int LastIndexOf(T item) { throw null; } public int LastIndexOf(T item, int startIndex) { throw null; } public int LastIndexOf(T item, int startIndex, int count) { throw null; } @@ -684,9 +684,9 @@ void System.Collections.IList.Remove(object value) { } public bool TrueForAll(System.Predicate match) { throw null; } } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -700,7 +700,7 @@ public static partial class ImmutableQueue public static System.Collections.Immutable.ImmutableQueue Create() { throw null; } public static System.Collections.Immutable.ImmutableQueue Create(T item) { throw null; } public static System.Collections.Immutable.ImmutableQueue Create(params T[] items) { throw null; } - public static System.Collections.Immutable.IImmutableQueue Dequeue(this System.Collections.Immutable.IImmutableQueue queue, out T value) { value = default(T); throw null; } + public static System.Collections.Immutable.IImmutableQueue Dequeue(this System.Collections.Immutable.IImmutableQueue queue, out T value) { throw null; } } public sealed partial class ImmutableQueue : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableQueue { @@ -709,7 +709,7 @@ internal ImmutableQueue() { } public bool IsEmpty { get { throw null; } } public System.Collections.Immutable.ImmutableQueue Clear() { throw null; } public System.Collections.Immutable.ImmutableQueue Dequeue() { throw null; } - public System.Collections.Immutable.ImmutableQueue Dequeue(out T value) { value = default(T); throw null; } + public System.Collections.Immutable.ImmutableQueue Dequeue(out T value) { throw null; } public System.Collections.Immutable.ImmutableQueue Enqueue(T value) { throw null; } public System.Collections.Immutable.ImmutableQueue.Enumerator GetEnumerator() { throw null; } public T Peek() { throw null; } @@ -722,9 +722,9 @@ internal ImmutableQueue() { } System.Collections.Immutable.IImmutableQueue System.Collections.Immutable.IImmutableQueue.Dequeue() { throw null; } System.Collections.Immutable.IImmutableQueue System.Collections.Immutable.IImmutableQueue.Enqueue(T value) { throw null; } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator { + private object _dummy; public T Current { get { throw null; } } public bool MoveNext() { throw null; } } @@ -754,9 +754,6 @@ internal ImmutableSortedDictionary() { } public int Count { get { throw null; } } public bool IsEmpty { get { throw null; } } public TValue this[TKey key] { get { throw null; } } -#if FEATURE_ITEMREFAPI - public ref readonly TValue ValueRef(TKey key) { throw null; } -#endif public System.Collections.Generic.IComparer KeyComparer { get { throw null; } } public System.Collections.Generic.IEnumerable Keys { get { throw null; } } bool System.Collections.Generic.ICollection>.IsReadOnly { get { throw null; } } @@ -805,8 +802,11 @@ void System.Collections.IDictionary.Remove(object key) { } System.Collections.Immutable.IImmutableDictionary System.Collections.Immutable.IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } System.Collections.Immutable.IImmutableDictionary System.Collections.Immutable.IImmutableDictionary.SetItems(System.Collections.Generic.IEnumerable> items) { throw null; } public System.Collections.Immutable.ImmutableSortedDictionary.Builder ToBuilder() { throw null; } - public bool TryGetKey(TKey equalKey, out TKey actualKey) { actualKey = default(TKey); throw null; } - public bool TryGetValue(TKey key, out TValue value) { value = default(TValue); throw null; } + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + public bool TryGetValue(TKey key, out TValue value) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly TValue ValueRef(TKey key) { throw null; } +#endif public System.Collections.Immutable.ImmutableSortedDictionary WithComparers(System.Collections.Generic.IComparer keyComparer) { throw null; } public System.Collections.Immutable.ImmutableSortedDictionary WithComparers(System.Collections.Generic.IComparer keyComparer, System.Collections.Generic.IEqualityComparer valueComparer) { throw null; } public sealed partial class Builder : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable @@ -814,9 +814,6 @@ public sealed partial class Builder : System.Collections.Generic.ICollection KeyComparer { get { throw null; } set { } } public System.Collections.Generic.IEnumerable Keys { get { throw null; } } bool System.Collections.Generic.ICollection>.IsReadOnly { get { throw null; } } @@ -853,13 +850,16 @@ void System.Collections.IDictionary.Add(object key, object value) { } void System.Collections.IDictionary.Remove(object key) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } public System.Collections.Immutable.ImmutableSortedDictionary ToImmutable() { throw null; } - public bool TryGetKey(TKey equalKey, out TKey actualKey) { actualKey = default(TKey); throw null; } - public bool TryGetValue(TKey key, out TValue value) { value = default(TValue); throw null; } + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + public bool TryGetValue(TKey key, out TValue value) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly TValue ValueRef(TKey key) { throw null; } +#endif } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Collections.Generic.KeyValuePair Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -889,9 +889,6 @@ internal ImmutableSortedSet() { } public int Count { get { throw null; } } public bool IsEmpty { get { throw null; } } public T this[int index] { get { throw null; } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif public System.Collections.Generic.IComparer KeyComparer { get { throw null; } } public T Max { get { throw null; } } public T Min { get { throw null; } } @@ -913,6 +910,9 @@ internal ImmutableSortedSet() { } public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable other) { throw null; } public bool IsSubsetOf(System.Collections.Generic.IEnumerable other) { throw null; } public bool IsSupersetOf(System.Collections.Generic.IEnumerable other) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public bool Overlaps(System.Collections.Generic.IEnumerable other) { throw null; } public System.Collections.Immutable.ImmutableSortedSet Remove(T value) { throw null; } public System.Collections.Generic.IEnumerable Reverse() { throw null; } @@ -947,7 +947,7 @@ void System.Collections.IList.RemoveAt(int index) { } System.Collections.Immutable.IImmutableSet System.Collections.Immutable.IImmutableSet.SymmetricExcept(System.Collections.Generic.IEnumerable other) { throw null; } System.Collections.Immutable.IImmutableSet System.Collections.Immutable.IImmutableSet.Union(System.Collections.Generic.IEnumerable other) { throw null; } public System.Collections.Immutable.ImmutableSortedSet.Builder ToBuilder() { throw null; } - public bool TryGetValue(T equalValue, out T actualValue) { actualValue = default(T); throw null; } + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } public System.Collections.Immutable.ImmutableSortedSet Union(System.Collections.Generic.IEnumerable other) { throw null; } public System.Collections.Immutable.ImmutableSortedSet WithComparer(System.Collections.Generic.IComparer comparer) { throw null; } public sealed partial class Builder : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable @@ -955,9 +955,6 @@ public sealed partial class Builder : System.Collections.Generic.ICollection, internal Builder() { } public int Count { get { throw null; } } public T this[int index] { get { throw null; } } -#if FEATURE_ITEMREFAPI - public ref readonly T ItemRef(int index) { throw null; } -#endif public System.Collections.Generic.IComparer KeyComparer { get { throw null; } set { } } public T Max { get { throw null; } } public T Min { get { throw null; } } @@ -974,6 +971,9 @@ public void IntersectWith(System.Collections.Generic.IEnumerable other) { } public bool IsProperSupersetOf(System.Collections.Generic.IEnumerable other) { throw null; } public bool IsSubsetOf(System.Collections.Generic.IEnumerable other) { throw null; } public bool IsSupersetOf(System.Collections.Generic.IEnumerable other) { throw null; } +#if FEATURE_ITEMREFAPI + public ref readonly T ItemRef(int index) { throw null; } +#endif public bool Overlaps(System.Collections.Generic.IEnumerable other) { throw null; } public bool Remove(T item) { throw null; } public System.Collections.Generic.IEnumerable Reverse() { throw null; } @@ -988,9 +988,9 @@ void System.Collections.ICollection.CopyTo(System.Array array, int arrayIndex) { public void UnionWith(System.Collections.Generic.IEnumerable other) { } } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -1004,7 +1004,7 @@ public static partial class ImmutableStack public static System.Collections.Immutable.ImmutableStack Create() { throw null; } public static System.Collections.Immutable.ImmutableStack Create(T item) { throw null; } public static System.Collections.Immutable.ImmutableStack Create(params T[] items) { throw null; } - public static System.Collections.Immutable.IImmutableStack Pop(this System.Collections.Immutable.IImmutableStack stack, out T value) { value = default(T); throw null; } + public static System.Collections.Immutable.IImmutableStack Pop(this System.Collections.Immutable.IImmutableStack stack, out T value) { throw null; } } public sealed partial class ImmutableStack : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Immutable.IImmutableStack { @@ -1018,7 +1018,7 @@ internal ImmutableStack() { } public ref readonly T PeekRef() { throw null; } #endif public System.Collections.Immutable.ImmutableStack Pop() { throw null; } - public System.Collections.Immutable.ImmutableStack Pop(out T value) { value = default(T); throw null; } + public System.Collections.Immutable.ImmutableStack Pop(out T value) { throw null; } public System.Collections.Immutable.ImmutableStack Push(T value) { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } @@ -1026,9 +1026,9 @@ internal ImmutableStack() { } System.Collections.Immutable.IImmutableStack System.Collections.Immutable.IImmutableStack.Pop() { throw null; } System.Collections.Immutable.IImmutableStack System.Collections.Immutable.IImmutableStack.Push(T value) { throw null; } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(2))] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator { + private object _dummy; public T Current { get { throw null; } } public bool MoveNext() { throw null; } } diff --git a/src/System.Collections.Specialized/ref/System.Collections.Specialized.cs b/src/System.Collections.Specialized/ref/System.Collections.Specialized.cs index d998213a7c8d..915e6cec09c9 100644 --- a/src/System.Collections.Specialized/ref/System.Collections.Specialized.cs +++ b/src/System.Collections.Specialized/ref/System.Collections.Specialized.cs @@ -5,12 +5,11 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Collections.Specialized { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct BitVector32 { + private int _dummy; public BitVector32(System.Collections.Specialized.BitVector32 value) { throw null; } public BitVector32(int data) { throw null; } public int Data { get { throw null; } } @@ -24,9 +23,9 @@ public partial struct BitVector32 public override int GetHashCode() { throw null; } public override string ToString() { throw null; } public static string ToString(System.Collections.Specialized.BitVector32 value) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Section { + private readonly int _dummy; public short Mask { get { throw null; } } public short Offset { get { throw null; } } public bool Equals(System.Collections.Specialized.BitVector32.Section obj) { throw null; } @@ -87,7 +86,7 @@ public void CopyTo(System.Array array, int index) { } public void Remove(object key) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public abstract partial class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback + public abstract partial class NameObjectCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { protected NameObjectCollectionBase() { } protected NameObjectCollectionBase(System.Collections.IEqualityComparer equalityComparer) { } @@ -162,7 +161,7 @@ protected void InvalidateCachedArrays() { } public virtual void Remove(string name) { } public virtual void Set(string name, string value) { } } - public partial class OrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Specialized.IOrderedDictionary, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback + public partial class OrderedDictionary : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.Collections.Specialized.IOrderedDictionary, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public OrderedDictionary() { } public OrderedDictionary(System.Collections.IEqualityComparer comparer) { } @@ -187,10 +186,10 @@ public void CopyTo(System.Array array, int index) { } public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public void Insert(int index, object key, object value) { } protected virtual void OnDeserialization(object sender) { } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } public void Remove(object key) { } public void RemoveAt(int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } } public partial class StringCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { diff --git a/src/System.Collections/ref/System.Collections.cs b/src/System.Collections/ref/System.Collections.cs index b86af9e8e812..e8d493423675 100644 --- a/src/System.Collections/ref/System.Collections.cs +++ b/src/System.Collections/ref/System.Collections.cs @@ -108,9 +108,9 @@ void System.Collections.IDictionary.Add(object key, object value) { } void System.Collections.IDictionary.Remove(object key) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } public bool TryGetValue(TKey key, out TValue value) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Collections.Generic.KeyValuePair Current { get { throw null; } } System.Collections.DictionaryEntry System.Collections.IDictionaryEnumerator.Entry { get { throw null; } } object System.Collections.IDictionaryEnumerator.Key { get { throw null; } } @@ -136,9 +136,9 @@ void System.Collections.Generic.ICollection.Clear() { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public TKey Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -162,9 +162,9 @@ void System.Collections.Generic.ICollection.Clear() { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public TValue Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -221,9 +221,9 @@ void System.Collections.Generic.ICollection.Add(T item) { } public void TrimExcess() { } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } public void UnionWith(System.Collections.Generic.IEnumerable other) { } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -266,9 +266,9 @@ void System.Collections.Generic.ICollection.Add(T value) { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -354,9 +354,9 @@ void System.Collections.IList.Remove(object item) { } public T[] ToArray() { throw null; } public void TrimExcess() { } public bool TrueForAll(System.Predicate match) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -386,9 +386,9 @@ void System.Collections.ICollection.CopyTo(System.Array array, int index) { } public void TrimExcess() { } public bool TryDequeue(out T result) { throw null; } public bool TryPeek(out T result) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -437,9 +437,9 @@ void System.Collections.IDictionary.Add(object key, object value) { } void System.Collections.IDictionary.Remove(object key) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } public bool TryGetValue(TKey key, out TValue value) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator>, System.Collections.IDictionaryEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Collections.Generic.KeyValuePair Current { get { throw null; } } System.Collections.DictionaryEntry System.Collections.IDictionaryEnumerator.Entry { get { throw null; } } object System.Collections.IDictionaryEnumerator.Key { get { throw null; } } @@ -465,9 +465,9 @@ void System.Collections.Generic.ICollection.Clear() { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public TKey Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -491,9 +491,9 @@ void System.Collections.Generic.ICollection.Clear() { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public TValue Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -597,9 +597,9 @@ void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } public bool TryGetValue(T equalValue, out T actualValue) { throw null; } public void UnionWith(System.Collections.Generic.IEnumerable other) { } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } @@ -631,9 +631,9 @@ void System.Collections.ICollection.CopyTo(System.Array array, int arrayIndex) { public void TrimExcess() { } public bool TryPeek(out T result) { throw null; } public bool TryPop(out T result) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public T Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } diff --git a/src/System.ComponentModel.Composition/ref/System.ComponentModel.Composition.cs b/src/System.ComponentModel.Composition/ref/System.ComponentModel.Composition.cs index d60af9077de4..aadd04f683cf 100644 --- a/src/System.ComponentModel.Composition/ref/System.ComponentModel.Composition.cs +++ b/src/System.ComponentModel.Composition/ref/System.ComponentModel.Composition.cs @@ -7,6 +7,12 @@ namespace System.ComponentModel.Composition { + public static partial class AdaptationConstants + { + public const string AdapterContractName = "System.ComponentModel.Composition.AdapterContract"; + public const string AdapterFromContractMetadataName = "FromContract"; + public const string AdapterToContractMetadataName = "ToContract"; + } public static partial class AttributedModelServices { public static System.ComponentModel.Composition.Primitives.ComposablePart AddExportedValue(this System.ComponentModel.Composition.Hosting.CompositionBatch batch, string contractName, T exportedValue) { throw null; } @@ -17,6 +23,7 @@ public static void ComposeExportedValue(this System.ComponentModel.Compositio public static void ComposeParts(this System.ComponentModel.Composition.Hosting.CompositionContainer container, params object[] attributedParts) { } public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart(System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition, object attributedPart) { throw null; } public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart(object attributedPart) { throw null; } + public static System.ComponentModel.Composition.Primitives.ComposablePart CreatePart(object attributedPart, System.Reflection.ReflectionContext reflectionContext) { throw null; } public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(System.Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin) { throw null; } public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(System.Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin, bool ensureIsDiscoverable) { throw null; } public static bool Exports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, System.Type contractType) { throw null; } @@ -30,6 +37,13 @@ public static void ComposeParts(this System.ComponentModel.Composition.Hosting.C public static bool Imports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part) { throw null; } public static bool Imports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, System.ComponentModel.Composition.Primitives.ImportCardinality importCardinality) { throw null; } public static System.ComponentModel.Composition.Primitives.ComposablePart SatisfyImportsOnce(this System.ComponentModel.Composition.ICompositionService compositionService, object attributedPart) { throw null; } + public static System.ComponentModel.Composition.Primitives.ComposablePart SatisfyImportsOnce(this System.ComponentModel.Composition.ICompositionService compositionService, object attributedPart, System.Reflection.ReflectionContext reflectionContext) { throw null; } + } + [System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false, Inherited=true)] + public partial class CatalogReflectionContextAttribute : System.Attribute + { + public CatalogReflectionContextAttribute(System.Type reflectionContextType) { } + public System.Reflection.ReflectionContext CreateReflectionContext() { throw null; } } public partial class ChangeRejectedException : System.ComponentModel.Composition.CompositionException { @@ -42,6 +56,7 @@ public ChangeRejectedException(string message, System.Exception innerException) public partial class CompositionContractMismatchException : System.Exception { public CompositionContractMismatchException() { } + protected CompositionContractMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CompositionContractMismatchException(string message) { } public CompositionContractMismatchException(string message, System.Exception innerException) { } } @@ -56,7 +71,6 @@ public CompositionError(string message, System.Exception exception) { } public System.Exception Exception { get { throw null; } } public override string ToString() { throw null; } } - [System.Diagnostics.DebuggerDisplayAttribute("{Message}")] public partial class CompositionException : System.Exception { public CompositionException() { } @@ -73,15 +87,15 @@ public enum CreationPolicy NonShared = 2, Shared = 1, } - [System.AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple=true, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(452), AllowMultiple=true, Inherited=false)] public partial class ExportAttribute : System.Attribute { public ExportAttribute() { } public ExportAttribute(string contractName) { } public ExportAttribute(string contractName, System.Type contractType) { } public ExportAttribute(System.Type contractType) { } - public string ContractName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.Type ContractType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public string ContractName { get { throw null; } } + public System.Type ContractType { get { throw null; } } } public partial class ExportFactory { @@ -99,56 +113,56 @@ public ExportLifetimeContext(T value, System.Action disposeAction) { } public T Value { get { throw null; } } public void Dispose() { } } - [System.AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Field, AllowMultiple=true, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(1476), AllowMultiple=true, Inherited=false)] public sealed partial class ExportMetadataAttribute : System.Attribute { public ExportMetadataAttribute(string name, object value) { } - public bool IsMultiple { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public object Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public bool IsMultiple { get { throw null; } set { } } + public string Name { get { throw null; } } + public object Value { get { throw null; } } } public partial interface ICompositionService { void SatisfyImportsOnce(System.ComponentModel.Composition.Primitives.ComposablePart part); } - [System.AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false, Inherited=false)] public partial class ImportAttribute : System.Attribute { public ImportAttribute() { } public ImportAttribute(string contractName) { } public ImportAttribute(string contractName, System.Type contractType) { } public ImportAttribute(System.Type contractType) { } - public bool AllowDefault { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public bool AllowRecomposition { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public string ContractName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.Type ContractType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.ComponentModel.Composition.ImportSource Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - } - [System.Diagnostics.DebuggerDisplayAttribute("{Message}")] + public bool AllowDefault { get { throw null; } set { } } + public bool AllowRecomposition { get { throw null; } set { } } + public string ContractName { get { throw null; } } + public System.Type ContractType { get { throw null; } } + public System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy { get { throw null; } set { } } + public System.ComponentModel.Composition.ImportSource Source { get { throw null; } set { } } + } public partial class ImportCardinalityMismatchException : System.Exception { public ImportCardinalityMismatchException() { } + protected ImportCardinalityMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ImportCardinalityMismatchException(string message) { } public ImportCardinalityMismatchException(string message, System.Exception innerException) { } } - [System.AttributeUsageAttribute(AttributeTargets.Constructor, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(32), AllowMultiple=false, Inherited=false)] public partial class ImportingConstructorAttribute : System.Attribute { public ImportingConstructorAttribute() { } } - [System.AttributeUsageAttribute(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false, Inherited=false)] public partial class ImportManyAttribute : System.Attribute { public ImportManyAttribute() { } public ImportManyAttribute(string contractName) { } public ImportManyAttribute(string contractName, System.Type contractType) { } public ImportManyAttribute(System.Type contractType) { } - public bool AllowRecomposition { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public string ContractName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.Type ContractType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public System.ComponentModel.Composition.ImportSource Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } + public bool AllowRecomposition { get { throw null; } set { } } + public string ContractName { get { throw null; } } + public System.Type ContractType { get { throw null; } } + public System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy { get { throw null; } set { } } + public System.ComponentModel.Composition.ImportSource Source { get { throw null; } set { } } } public enum ImportSource { @@ -156,7 +170,7 @@ public enum ImportSource Local = 1, NonLocal = 2, } - [System.AttributeUsageAttribute(AttributeTargets.Interface | AttributeTargets.Class, AllowMultiple=true, Inherited=true)] + [System.AttributeUsageAttribute((System.AttributeTargets)(1028), AllowMultiple=true, Inherited=true)] public partial class InheritedExportAttribute : System.ComponentModel.Composition.ExportAttribute { public InheritedExportAttribute() { } @@ -168,31 +182,31 @@ public partial interface IPartImportsSatisfiedNotification { void OnImportsSatisfied(); } - [System.AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=true)] + [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false, Inherited=true)] public sealed partial class MetadataAttributeAttribute : System.Attribute { public MetadataAttributeAttribute() { } } - [System.AttributeUsageAttribute(AttributeTargets.Interface, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(1024), AllowMultiple=false, Inherited=false)] public sealed partial class MetadataViewImplementationAttribute : System.Attribute { public MetadataViewImplementationAttribute(System.Type implementationType) { } - public System.Type ImplementationType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.Type ImplementationType { get { throw null; } } } - [System.AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false, Inherited=false)] public sealed partial class PartCreationPolicyAttribute : System.Attribute { public PartCreationPolicyAttribute(System.ComponentModel.Composition.CreationPolicy creationPolicy) { } - public System.ComponentModel.Composition.CreationPolicy CreationPolicy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.ComponentModel.Composition.CreationPolicy CreationPolicy { get { throw null; } } } - [System.AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=true, Inherited=false)] public sealed partial class PartMetadataAttribute : System.Attribute { public PartMetadataAttribute(string name, object value) { } - public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public object Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public string Name { get { throw null; } } + public object Value { get { throw null; } } } - [System.AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=false)] + [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false, Inherited=false)] public sealed partial class PartNotDiscoverableAttribute : System.Attribute { public PartNotDiscoverableAttribute() { } @@ -226,9 +240,9 @@ protected virtual void Dispose(bool disposing) { } public partial class ApplicationCatalog : System.ComponentModel.Composition.Primitives.ComposablePartCatalog, System.ComponentModel.Composition.Primitives.ICompositionElement { public ApplicationCatalog() { } + public ApplicationCatalog(System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } public ApplicationCatalog(System.Reflection.ReflectionContext reflectionContext) { } public ApplicationCatalog(System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } - public ApplicationCatalog(System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } string System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName { get { throw null; } } System.ComponentModel.Composition.Primitives.ICompositionElement System.ComponentModel.Composition.Primitives.ICompositionElement.Origin { get { throw null; } } protected override void Dispose(bool disposing) { } @@ -240,7 +254,12 @@ public partial class AssemblyCatalog : System.ComponentModel.Composition.Primiti { public AssemblyCatalog(System.Reflection.Assembly assembly) { } public AssemblyCatalog(System.Reflection.Assembly assembly, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public AssemblyCatalog(System.Reflection.Assembly assembly, System.Reflection.ReflectionContext reflectionContext) { } + public AssemblyCatalog(System.Reflection.Assembly assembly, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public AssemblyCatalog(string codeBase) { } public AssemblyCatalog(string codeBase, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public AssemblyCatalog(string codeBase, System.Reflection.ReflectionContext reflectionContext) { } + public AssemblyCatalog(string codeBase, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } public System.Reflection.Assembly Assembly { get { throw null; } } string System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName { get { throw null; } } System.ComponentModel.Composition.Primitives.ICompositionElement System.ComponentModel.Composition.Primitives.ICompositionElement.Origin { get { throw null; } } @@ -259,8 +278,8 @@ public void Complete() { } public void Dispose() { } protected virtual void Dispose(bool disposing) { } public void SetValue(object key, object value) { } - public bool TryGetValue(object key, bool localAtomicCompositionOnly, out T value) { value = default(T); throw null; } - public bool TryGetValue(object key, out T value) { value = default(T); throw null; } + public bool TryGetValue(object key, bool localAtomicCompositionOnly, out T value) { throw null; } + public bool TryGetValue(object key, out T value) { throw null; } } public partial class CatalogExportProvider : System.ComponentModel.Composition.Hosting.ExportProvider, System.IDisposable { @@ -281,7 +300,7 @@ public partial class ComposablePartCatalogChangeEventArgs : System.EventArgs { public ComposablePartCatalogChangeEventArgs(System.Collections.Generic.IEnumerable addedDefinitions, System.Collections.Generic.IEnumerable removedDefinitions, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition) { } public System.Collections.Generic.IEnumerable AddedDefinitions { get { throw null; } } - public System.ComponentModel.Composition.Hosting.AtomicComposition AtomicComposition { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.ComponentModel.Composition.Hosting.AtomicComposition AtomicComposition { get { throw null; } } public System.Collections.Generic.IEnumerable RemovedDefinitions { get { throw null; } } } public partial class ComposablePartExportProvider : System.ComponentModel.Composition.Hosting.ExportProvider, System.IDisposable @@ -368,8 +387,12 @@ public partial class DirectoryCatalog : System.ComponentModel.Composition.Primit { public DirectoryCatalog(string path) { } public DirectoryCatalog(string path, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public DirectoryCatalog(string path, System.Reflection.ReflectionContext reflectionContext) { } + public DirectoryCatalog(string path, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } public DirectoryCatalog(string path, string searchPattern) { } public DirectoryCatalog(string path, string searchPattern, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public DirectoryCatalog(string path, string searchPattern, System.Reflection.ReflectionContext reflectionContext) { } + public DirectoryCatalog(string path, string searchPattern, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } public string FullPath { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection LoadedFiles { get { throw null; } } public string Path { get { throw null; } } @@ -411,13 +434,13 @@ public event System.EventHandler GetExport(string contractName) { throw null; } protected virtual void OnExportsChanged(System.ComponentModel.Composition.Hosting.ExportsChangeEventArgs e) { } protected virtual void OnExportsChanging(System.ComponentModel.Composition.Hosting.ExportsChangeEventArgs e) { } - public bool TryGetExports(System.ComponentModel.Composition.Primitives.ImportDefinition definition, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition, out System.Collections.Generic.IEnumerable exports) { exports = default(System.Collections.Generic.IEnumerable); throw null; } + public bool TryGetExports(System.ComponentModel.Composition.Primitives.ImportDefinition definition, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition, out System.Collections.Generic.IEnumerable exports) { throw null; } } public partial class ExportsChangeEventArgs : System.EventArgs { public ExportsChangeEventArgs(System.Collections.Generic.IEnumerable addedExports, System.Collections.Generic.IEnumerable removedExports, System.ComponentModel.Composition.Hosting.AtomicComposition atomicComposition) { } public System.Collections.Generic.IEnumerable AddedExports { get { throw null; } } - public System.ComponentModel.Composition.Hosting.AtomicComposition AtomicComposition { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public System.ComponentModel.Composition.Hosting.AtomicComposition AtomicComposition { get { throw null; } } public System.Collections.Generic.IEnumerable ChangedContractNames { get { throw null; } } public System.Collections.Generic.IEnumerable RemovedExports { get { throw null; } } } @@ -467,6 +490,8 @@ public partial class TypeCatalog : System.ComponentModel.Composition.Primitives. { public TypeCatalog(System.Collections.Generic.IEnumerable types) { } public TypeCatalog(System.Collections.Generic.IEnumerable types, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } + public TypeCatalog(System.Collections.Generic.IEnumerable types, System.Reflection.ReflectionContext reflectionContext) { } + public TypeCatalog(System.Collections.Generic.IEnumerable types, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) { } public TypeCatalog(params System.Type[] types) { } string System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName { get { throw null; } } System.ComponentModel.Composition.Primitives.ICompositionElement System.ComponentModel.Composition.Primitives.ICompositionElement.Origin { get { throw null; } } @@ -490,7 +515,7 @@ public virtual void Activate() { } public abstract partial class ComposablePartCatalog : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.IDisposable { protected ComposablePartCatalog() { } - [System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public virtual System.Linq.IQueryable Parts { get { throw null; } } public void Dispose() { } protected virtual void Dispose(bool disposing) { } @@ -506,7 +531,6 @@ protected ComposablePartDefinition() { } public virtual System.Collections.Generic.IDictionary Metadata { get { throw null; } } public abstract System.ComponentModel.Composition.Primitives.ComposablePart CreatePart(); } - [System.Diagnostics.DebuggerDisplayAttribute("{Message}")] public partial class ComposablePartException : System.Exception { public ComposablePartException() { } @@ -581,12 +605,12 @@ public ImportDefinition(System.Linq.Expressions.Expression accessorsCreator) { throw null;} - public LazyMemberInfo(System.Reflection.MemberTypes memberType, params System.Reflection.MemberInfo[] accessors) { throw null;} + private object _dummy; + public LazyMemberInfo(System.Reflection.MemberInfo member) { throw null; } + public LazyMemberInfo(System.Reflection.MemberTypes memberType, System.Func accessorsCreator) { throw null; } + public LazyMemberInfo(System.Reflection.MemberTypes memberType, params System.Reflection.MemberInfo[] accessors) { throw null; } public System.Reflection.MemberTypes MemberType { get { throw null; } } public override bool Equals(object obj) { throw null; } public System.Reflection.MemberInfo[] GetAccessors() { throw null; } @@ -611,6 +635,6 @@ public static partial class ReflectionModelServices public static bool IsDisposalRequired(System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition) { throw null; } public static bool IsExportFactoryImportDefinition(System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition) { throw null; } public static bool IsImportingParameter(System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition) { throw null; } - public static bool TryMakeGenericPartDefinition(System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition, System.Collections.Generic.IEnumerable genericParameters, out System.ComponentModel.Composition.Primitives.ComposablePartDefinition specialization) { specialization = default(System.ComponentModel.Composition.Primitives.ComposablePartDefinition); throw null; } + public static bool TryMakeGenericPartDefinition(System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition, System.Collections.Generic.IEnumerable genericParameters, out System.ComponentModel.Composition.Primitives.ComposablePartDefinition specialization) { throw null; } } } diff --git a/src/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj b/src/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj index a7b70914be6a..a69aa4f1f27e 100644 --- a/src/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj +++ b/src/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj @@ -4,8 +4,6 @@ {2D694AC8-A12F-4622-9405-74E20EC40C3A} System.ComponentModel.Composition - - false SR.PlatformNotSupported_ComponentModel_Composition diff --git a/src/System.ComponentModel.TypeConverter/ref/System.ComponentModel.cs b/src/System.ComponentModel.TypeConverter/ref/System.ComponentModel.cs index 4611ef0189e2..817c6c13fb5b 100644 --- a/src/System.ComponentModel.TypeConverter/ref/System.ComponentModel.cs +++ b/src/System.ComponentModel.TypeConverter/ref/System.ComponentModel.cs @@ -1440,6 +1440,7 @@ public InstanceDescriptor(System.Reflection.MemberInfo member, System.Collection [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MemberRelationship { + private readonly object _dummy; public static readonly System.ComponentModel.Design.Serialization.MemberRelationship Empty; public MemberRelationship(object owner, System.ComponentModel.MemberDescriptor member) { throw null; } public bool IsEmpty { get { throw null; } } diff --git a/src/System.Console/ref/System.Console.cs b/src/System.Console/ref/System.Console.cs index 358aea1b61d4..079b96f1fd43 100644 --- a/src/System.Console/ref/System.Console.cs +++ b/src/System.Console/ref/System.Console.cs @@ -5,47 +5,52 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System { public static partial class Console { public static System.ConsoleColor BackgroundColor { get { throw null; } set { } } - public static void Beep() { } - public static void Beep(int frequency, int duration) { } public static int BufferHeight { get { throw null; } set { } } public static int BufferWidth { get { throw null; } set { } } public static bool CapsLock { get { throw null; } } - public static event System.ConsoleCancelEventHandler CancelKeyPress { add { } remove { } } - public static void Clear() { } public static int CursorLeft { get { throw null; } set { } } public static int CursorSize { get { throw null; } set { } } public static int CursorTop { get { throw null; } set { } } public static bool CursorVisible { get { throw null; } set { } } public static System.IO.TextWriter Error { get { throw null; } } public static System.ConsoleColor ForegroundColor { get { throw null; } set { } } + public static System.IO.TextReader In { get { throw null; } } public static System.Text.Encoding InputEncoding { get { throw null; } set { } } public static bool IsErrorRedirected { get { throw null; } } public static bool IsInputRedirected { get { throw null; } } public static bool IsOutputRedirected { get { throw null; } } - public static System.IO.TextReader In { get { throw null; } } - public static bool KeyAvailable { get { throw null; }} + public static bool KeyAvailable { get { throw null; } } + public static int LargestWindowHeight { get { throw null; } } public static int LargestWindowWidth { get { throw null; } } - public static int LargestWindowHeight { get { throw null; }} + public static bool NumberLock { get { throw null; } } + public static System.IO.TextWriter Out { get { throw null; } } + public static System.Text.Encoding OutputEncoding { get { throw null; } set { } } + public static string Title { get { throw null; } set { } } + public static bool TreatControlCAsInput { get { throw null; } set { } } + public static int WindowHeight { get { throw null; } set { } } + public static int WindowLeft { get { throw null; } set { } } + public static int WindowTop { get { throw null; } set { } } + public static int WindowWidth { get { throw null; } set { } } + public static event System.ConsoleCancelEventHandler CancelKeyPress { add { } remove { } } + public static void Beep() { } + public static void Beep(int frequency, int duration) { } + public static void Clear() { } public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop) { } - public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor) { } - public static bool NumberLock { get { throw null; }} + public static void MoveBufferArea(int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, System.ConsoleColor sourceForeColor, System.ConsoleColor sourceBackColor) { } public static System.IO.Stream OpenStandardError() { throw null; } public static System.IO.Stream OpenStandardError(int bufferSize) { throw null; } public static System.IO.Stream OpenStandardInput() { throw null; } public static System.IO.Stream OpenStandardInput(int bufferSize) { throw null; } public static System.IO.Stream OpenStandardOutput() { throw null; } public static System.IO.Stream OpenStandardOutput(int bufferSize) { throw null; } - public static System.IO.TextWriter Out { get { throw null; } } - public static System.Text.Encoding OutputEncoding { get { throw null; } set { } } public static int Read() { throw null; } - public static ConsoleKeyInfo ReadKey() { throw null; } - public static ConsoleKeyInfo ReadKey(bool intercept) { throw null; } + public static System.ConsoleKeyInfo ReadKey() { throw null; } + public static System.ConsoleKeyInfo ReadKey(bool intercept) { throw null; } public static string ReadLine() { throw null; } public static void ResetColor() { } public static void SetBufferSize(int width, int height) { } @@ -55,12 +60,6 @@ public static void SetIn(System.IO.TextReader newIn) { } public static void SetOut(System.IO.TextWriter newOut) { } public static void SetWindowPosition(int left, int top) { } public static void SetWindowSize(int width, int height) { } - public static string Title { get { throw null; } set { } } - public static bool TreatControlCAsInput { get { throw null; } set { } } - public static int WindowHeight { get { throw null; } set { } } - public static int WindowWidth { get { throw null; } set { } } - public static int WindowLeft { get { throw null; } set { } } - public static int WindowTop { get { throw null; } set { } } public static void Write(bool value) { } public static void Write(char value) { } public static void Write(char[] buffer) { } @@ -127,171 +126,172 @@ public enum ConsoleColor White = 15, Yellow = 14, } + public enum ConsoleKey + { + A = 65, + Add = 107, + Applications = 93, + Attention = 246, + B = 66, + Backspace = 8, + BrowserBack = 166, + BrowserFavorites = 171, + BrowserForward = 167, + BrowserHome = 172, + BrowserRefresh = 168, + BrowserSearch = 170, + BrowserStop = 169, + C = 67, + Clear = 12, + CrSel = 247, + D = 68, + D0 = 48, + D1 = 49, + D2 = 50, + D3 = 51, + D4 = 52, + D5 = 53, + D6 = 54, + D7 = 55, + D8 = 56, + D9 = 57, + Decimal = 110, + Delete = 46, + Divide = 111, + DownArrow = 40, + E = 69, + End = 35, + Enter = 13, + EraseEndOfFile = 249, + Escape = 27, + Execute = 43, + ExSel = 248, + F = 70, + F1 = 112, + F10 = 121, + F11 = 122, + F12 = 123, + F13 = 124, + F14 = 125, + F15 = 126, + F16 = 127, + F17 = 128, + F18 = 129, + F19 = 130, + F2 = 113, + F20 = 131, + F21 = 132, + F22 = 133, + F23 = 134, + F24 = 135, + F3 = 114, + F4 = 115, + F5 = 116, + F6 = 117, + F7 = 118, + F8 = 119, + F9 = 120, + G = 71, + H = 72, + Help = 47, + Home = 36, + I = 73, + Insert = 45, + J = 74, + K = 75, + L = 76, + LaunchApp1 = 182, + LaunchApp2 = 183, + LaunchMail = 180, + LaunchMediaSelect = 181, + LeftArrow = 37, + LeftWindows = 91, + M = 77, + MediaNext = 176, + MediaPlay = 179, + MediaPrevious = 177, + MediaStop = 178, + Multiply = 106, + N = 78, + NoName = 252, + NumPad0 = 96, + NumPad1 = 97, + NumPad2 = 98, + NumPad3 = 99, + NumPad4 = 100, + NumPad5 = 101, + NumPad6 = 102, + NumPad7 = 103, + NumPad8 = 104, + NumPad9 = 105, + O = 79, + Oem1 = 186, + Oem102 = 226, + Oem2 = 191, + Oem3 = 192, + Oem4 = 219, + Oem5 = 220, + Oem6 = 221, + Oem7 = 222, + Oem8 = 223, + OemClear = 254, + OemComma = 188, + OemMinus = 189, + OemPeriod = 190, + OemPlus = 187, + P = 80, + Pa1 = 253, + Packet = 231, + PageDown = 34, + PageUp = 33, + Pause = 19, + Play = 250, + Print = 42, + PrintScreen = 44, + Process = 229, + Q = 81, + R = 82, + RightArrow = 39, + RightWindows = 92, + S = 83, + Select = 41, + Separator = 108, + Sleep = 95, + Spacebar = 32, + Subtract = 109, + T = 84, + Tab = 9, + U = 85, + UpArrow = 38, + V = 86, + VolumeDown = 174, + VolumeMute = 173, + VolumeUp = 175, + W = 87, + X = 88, + Y = 89, + Z = 90, + Zoom = 251, + } public readonly partial struct ConsoleKeyInfo { - public ConsoleKeyInfo(char keyChar, ConsoleKey key, bool shift, bool alt, bool control) { } + private readonly int _dummy; + public ConsoleKeyInfo(char keyChar, System.ConsoleKey key, bool shift, bool alt, bool control) { throw null; } + public System.ConsoleKey Key { get { throw null; } } public char KeyChar { get { throw null; } } - public ConsoleKey Key { get { throw null; } } - public ConsoleModifiers Modifiers { get { throw null; } } - public bool Equals(ConsoleKeyInfo obj) { throw null; } + public System.ConsoleModifiers Modifiers { get { throw null; } } + public bool Equals(System.ConsoleKeyInfo obj) { throw null; } public override bool Equals(object value) { throw null; } public override int GetHashCode() { throw null; } - public static bool operator ==(ConsoleKeyInfo a, ConsoleKeyInfo b) { throw null; } - public static bool operator !=(ConsoleKeyInfo a, ConsoleKeyInfo b) { throw null; } - } - public enum ConsoleKey - { - Backspace = 0x8, - Tab = 0x9, - Clear = 0xC, - Enter = 0xD, - Pause = 0x13, - Escape = 0x1B, - Spacebar = 0x20, - PageUp = 0x21, - PageDown = 0x22, - End = 0x23, - Home = 0x24, - LeftArrow = 0x25, - UpArrow = 0x26, - RightArrow = 0x27, - DownArrow = 0x28, - Select = 0x29, - Print = 0x2A, - Execute = 0x2B, - PrintScreen = 0x2C, - Insert = 0x2D, - Delete = 0x2E, - Help = 0x2F, - D0 = 0x30, // 0 through 9 - D1 = 0x31, - D2 = 0x32, - D3 = 0x33, - D4 = 0x34, - D5 = 0x35, - D6 = 0x36, - D7 = 0x37, - D8 = 0x38, - D9 = 0x39, - A = 0x41, - B = 0x42, - C = 0x43, - D = 0x44, - E = 0x45, - F = 0x46, - G = 0x47, - H = 0x48, - I = 0x49, - J = 0x4A, - K = 0x4B, - L = 0x4C, - M = 0x4D, - N = 0x4E, - O = 0x4F, - P = 0x50, - Q = 0x51, - R = 0x52, - S = 0x53, - T = 0x54, - U = 0x55, - V = 0x56, - W = 0x57, - X = 0x58, - Y = 0x59, - Z = 0x5A, - LeftWindows = 0x5B, - RightWindows = 0x5C, - Applications = 0x5D, - Sleep = 0x5F, - NumPad0 = 0x60, - NumPad1 = 0x61, - NumPad2 = 0x62, - NumPad3 = 0x63, - NumPad4 = 0x64, - NumPad5 = 0x65, - NumPad6 = 0x66, - NumPad7 = 0x67, - NumPad8 = 0x68, - NumPad9 = 0x69, - Multiply = 0x6A, - Add = 0x6B, - Separator = 0x6C, - Subtract = 0x6D, - Decimal = 0x6E, - Divide = 0x6F, - F1 = 0x70, - F2 = 0x71, - F3 = 0x72, - F4 = 0x73, - F5 = 0x74, - F6 = 0x75, - F7 = 0x76, - F8 = 0x77, - F9 = 0x78, - F10 = 0x79, - F11 = 0x7A, - F12 = 0x7B, - F13 = 0x7C, - F14 = 0x7D, - F15 = 0x7E, - F16 = 0x7F, - F17 = 0x80, - F18 = 0x81, - F19 = 0x82, - F20 = 0x83, - F21 = 0x84, - F22 = 0x85, - F23 = 0x86, - F24 = 0x87, - BrowserBack = 0xA6, - BrowserForward = 0xA7, - BrowserRefresh = 0xA8, - BrowserStop = 0xA9, - BrowserSearch = 0xAA, - BrowserFavorites = 0xAB, - BrowserHome = 0xAC, - VolumeMute = 0xAD, - VolumeDown = 0xAE, - VolumeUp = 0xAF, - MediaNext = 0xB0, - MediaPrevious = 0xB1, - MediaStop = 0xB2, - MediaPlay = 0xB3, - LaunchMail = 0xB4, - LaunchMediaSelect = 0xB5, - LaunchApp1 = 0xB6, - LaunchApp2 = 0xB7, - Oem1 = 0xBA, - OemPlus = 0xBB, - OemComma = 0xBC, - OemMinus = 0xBD, - OemPeriod = 0xBE, - Oem2 = 0xBF, - Oem3 = 0xC0, - Oem4 = 0xDB, - Oem5 = 0xDC, - Oem6 = 0xDD, - Oem7 = 0xDE, - Oem8 = 0xDF, - Oem102 = 0xE2, - Process = 0xE5, - Packet = 0xE7, - Attention = 0xF6, - CrSel = 0xF7, - ExSel = 0xF8, - EraseEndOfFile = 0xF9, - Play = 0xFA, - Zoom = 0xFB, - NoName = 0xFC, - Pa1 = 0xFD, - OemClear = 0xFE, + public static bool operator ==(System.ConsoleKeyInfo a, System.ConsoleKeyInfo b) { throw null; } + public static bool operator !=(System.ConsoleKeyInfo a, System.ConsoleKeyInfo b) { throw null; } } - [Flags] + [System.FlagsAttribute] public enum ConsoleModifiers { Alt = 1, + Control = 4, Shift = 2, - Control = 4 } public enum ConsoleSpecialKey { diff --git a/src/System.Data.Common/ref/System.Data.Common.cs b/src/System.Data.Common/ref/System.Data.Common.cs index a0ec1d683847..64dd4c072a27 100644 --- a/src/System.Data.Common/ref/System.Data.Common.cs +++ b/src/System.Data.Common/ref/System.Data.Common.cs @@ -1,7 +1,6 @@ // 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. - // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ @@ -52,13 +51,13 @@ public enum ConnectionState public abstract partial class Constraint { protected Constraint() { } - [System.CLSCompliantAttribute(false)] - protected virtual System.Data.DataSet _DataSet { get { throw null; } } [System.ComponentModel.DefaultValueAttribute("")] public virtual string ConstraintName { get { throw null; } set { } } [System.ComponentModel.BrowsableAttribute(false)] public System.Data.PropertyCollection ExtendedProperties { get { throw null; } } public abstract System.Data.DataTable Table { get; } + [System.CLSCompliantAttribute(false)] + protected virtual System.Data.DataSet _DataSet { get { throw null; } } protected void CheckStateForProperty() { } protected internal void SetDataSet(System.Data.DataSet dataSet) { } public override string ToString() { throw null; } @@ -405,7 +404,6 @@ public void EndEdit() { } object System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd) { throw null; } } [System.ComponentModel.DefaultPropertyAttribute("DataSetName")] - [System.ComponentModel.ToolboxItemAttribute("Microsoft.VSDesigner.Data.VS.DataSetToolboxItem, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [System.Xml.Serialization.XmlSchemaProviderAttribute("GetDataSetSchema")] public partial class DataSet : System.ComponentModel.MarshalByValueComponent, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { @@ -969,7 +967,7 @@ public DBConcurrencyException(string message, System.Exception inner, System.Dat public int RowCount { get { throw null; } } public void CopyToRows(System.Data.DataRow[] array) { } public void CopyToRows(System.Data.DataRow[] array, int arrayIndex) { } - public override void GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public enum DbType { @@ -1308,7 +1306,7 @@ public enum ParameterDirection Output = 2, ReturnValue = 6, } - public partial class PropertyCollection : System.Collections.Hashtable + public partial class PropertyCollection : System.Collections.Hashtable, System.ICloneable { public PropertyCollection() { } protected PropertyCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -1658,30 +1656,31 @@ public void RemoveAt(string sourceTable) { } } public abstract partial class DbColumn { - public bool? AllowDBNull { get { throw null; } protected set { } } + protected DbColumn() { } + public System.Nullable AllowDBNull { get { throw null; } protected set { } } public string BaseCatalogName { get { throw null; } protected set { } } public string BaseColumnName { get { throw null; } protected set { } } public string BaseSchemaName { get { throw null; } protected set { } } public string BaseServerName { get { throw null; } protected set { } } public string BaseTableName { get { throw null; } protected set { } } public string ColumnName { get { throw null; } protected set { } } - public int? ColumnOrdinal { get { throw null; } protected set { } } - public int? ColumnSize { get { throw null; } protected set { } } - public bool? IsAliased { get { throw null; } protected set { } } - public bool? IsAutoIncrement { get { throw null; } protected set { } } - public bool? IsExpression { get { throw null; } protected set { } } - public bool? IsHidden { get { throw null; } protected set { } } - public bool? IsIdentity { get { throw null; } protected set { } } - public bool? IsKey { get { throw null; } protected set { } } - public bool? IsLong { get { throw null; } protected set { } } - public bool? IsReadOnly { get { throw null; } protected set { } } - public bool? IsUnique { get { throw null; } protected set { } } - public int? NumericPrecision { get { throw null; } protected set { } } - public int? NumericScale { get { throw null; } protected set { } } - public string UdtAssemblyQualifiedName { get { throw null; } protected set { } } + public System.Nullable ColumnOrdinal { get { throw null; } protected set { } } + public System.Nullable ColumnSize { get { throw null; } protected set { } } public System.Type DataType { get { throw null; } protected set { } } public string DataTypeName { get { throw null; } protected set { } } + public System.Nullable IsAliased { get { throw null; } protected set { } } + public System.Nullable IsAutoIncrement { get { throw null; } protected set { } } + public System.Nullable IsExpression { get { throw null; } protected set { } } + public System.Nullable IsHidden { get { throw null; } protected set { } } + public System.Nullable IsIdentity { get { throw null; } protected set { } } + public System.Nullable IsKey { get { throw null; } protected set { } } + public System.Nullable IsLong { get { throw null; } protected set { } } + public System.Nullable IsReadOnly { get { throw null; } protected set { } } + public System.Nullable IsUnique { get { throw null; } protected set { } } public virtual object this[string property] { get { throw null; } } + public System.Nullable NumericPrecision { get { throw null; } protected set { } } + public System.Nullable NumericScale { get { throw null; } protected set { } } + public string UdtAssemblyQualifiedName { get { throw null; } protected set { } } } public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IDisposable { @@ -1961,9 +1960,9 @@ protected virtual void Dispose(bool disposing) { } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public abstract System.Collections.IEnumerator GetEnumerator(); public abstract System.Type GetFieldType(int ordinal); - public virtual T GetFieldValue(int ordinal) { throw null; } public System.Threading.Tasks.Task GetFieldValueAsync(int ordinal) { throw null; } public virtual System.Threading.Tasks.Task GetFieldValueAsync(int ordinal, System.Threading.CancellationToken cancellationToken) { throw null; } + public virtual T GetFieldValue(int ordinal) { throw null; } public abstract float GetFloat(int ordinal); public abstract System.Guid GetGuid(int ordinal); public abstract short GetInt16(int ordinal); @@ -1994,10 +1993,10 @@ protected virtual void Dispose(bool disposing) { } public virtual System.Threading.Tasks.Task ReadAsync(System.Threading.CancellationToken cancellationToken) { throw null; } System.Data.IDataReader System.Data.IDataRecord.GetData(int ordinal) { throw null; } } - public static class DbDataReaderExtensions + public static partial class DbDataReaderExtensions { - public static System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(this System.Data.Common.DbDataReader reader) { throw null; } public static bool CanGetColumnSchema(this System.Data.Common.DbDataReader reader) { throw null; } + public static System.Collections.ObjectModel.ReadOnlyCollection GetColumnSchema(this System.Data.Common.DbDataReader reader) { throw null; } } public abstract partial class DbDataRecord : System.ComponentModel.ICustomTypeDescriptor, System.Data.IDataRecord { @@ -2199,6 +2198,13 @@ protected DbParameterCollection() { } protected abstract void SetParameter(int index, System.Data.Common.DbParameter value); protected abstract void SetParameter(string parameterName, System.Data.Common.DbParameter value); } + public static partial class DbProviderFactories + { + public static System.Data.Common.DbProviderFactory GetFactory(System.Data.Common.DbConnection connection) { throw null; } + public static System.Data.Common.DbProviderFactory GetFactory(System.Data.DataRow providerRow) { throw null; } + public static System.Data.Common.DbProviderFactory GetFactory(string providerInvariantName) { throw null; } + public static System.Data.DataTable GetFactoryClasses() { throw null; } + } public abstract partial class DbProviderFactory { protected DbProviderFactory() { } @@ -2211,14 +2217,7 @@ protected DbProviderFactory() { } public virtual System.Data.Common.DbDataSourceEnumerator CreateDataSourceEnumerator() { throw null; } public virtual System.Data.Common.DbParameter CreateParameter() { throw null; } } - public static partial class DbProviderFactories - { - public static DbProviderFactory GetFactory(string providerInvariantName) { throw null; } - public static DbProviderFactory GetFactory(DataRow providerRow) { throw null; } - public static DbProviderFactory GetFactory(DbConnection connection) { throw null; } - public static DataTable GetFactoryClasses() { throw null; } - } - [System.AttributeUsageAttribute((System.AttributeTargets)(128), AllowMultiple = false, Inherited = true)] + [System.AttributeUsageAttribute((System.AttributeTargets)(128), AllowMultiple=false, Inherited=true)] public sealed partial class DbProviderSpecificTypePropertyAttribute : System.Attribute { public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) { } @@ -2339,9 +2338,9 @@ public SqlAlreadyFilledException(string message) { } public SqlAlreadyFilledException(string message, System.Exception e) { } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private object _dummy; public static readonly System.Data.SqlTypes.SqlBinary Null; public SqlBinary(byte[] value) { throw null; } public bool IsNull { get { throw null; } } @@ -2364,10 +2363,10 @@ public partial struct SqlBinary : System.Data.SqlTypes.INullable, System.ICompar public static System.Data.SqlTypes.SqlBinary operator +(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } public static explicit operator byte[] (System.Data.SqlTypes.SqlBinary x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlGuid x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBinary (System.Data.SqlTypes.SqlGuid x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlBinary(byte[] x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlBinary (byte[] x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y) { throw null; } @@ -2378,9 +2377,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public override string ToString() { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlBoolean : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlBoolean False; public static readonly System.Data.SqlTypes.SqlBoolean Null; public static readonly System.Data.SqlTypes.SqlBoolean One; @@ -2410,20 +2409,20 @@ public partial struct SqlBoolean : System.Data.SqlTypes.INullable, System.ICompa public static System.Data.SqlTypes.SqlBoolean operator |(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ^(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } - public static explicit operator bool(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlByte x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBoolean(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator bool (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlByte x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlString x) { throw null; } public static bool operator false(System.Data.SqlTypes.SqlBoolean x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlBoolean(bool x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlBoolean (bool x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } @@ -2448,9 +2447,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public static System.Data.SqlTypes.SqlBoolean Xor(System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y) { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlByte : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlByte MaxValue; public static readonly System.Data.SqlTypes.SqlByte MinValue; public static readonly System.Data.SqlTypes.SqlByte Null; @@ -2483,19 +2482,19 @@ public partial struct SqlByte : System.Data.SqlTypes.INullable, System.IComparab public static System.Data.SqlTypes.SqlByte operator /(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } public static System.Data.SqlTypes.SqlByte operator ^(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator byte(System.Data.SqlTypes.SqlByte x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlByte(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator byte (System.Data.SqlTypes.SqlByte x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlByte (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlByte(byte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlByte (byte x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlByte x, System.Data.SqlTypes.SqlByte y) { throw null; } @@ -2537,8 +2536,8 @@ public SqlBytes(System.IO.Stream s) { } public System.IO.Stream Stream { get { throw null; } set { } } public byte[] Value { get { throw null; } } public static System.Xml.XmlQualifiedName GetXsdType(System.Xml.Schema.XmlSchemaSet schemaSet) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBytes(System.Data.SqlTypes.SqlBinary value) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlBytes value) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBytes (System.Data.SqlTypes.SqlBinary value) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlBinary (System.Data.SqlTypes.SqlBytes value) { throw null; } public long Read(long offset, byte[] buffer, int offsetInBuffer, int count) { throw null; } public void SetLength(long value) { } public void SetNull() { } @@ -2564,8 +2563,8 @@ public SqlChars(System.Data.SqlTypes.SqlString value) { } public System.Data.SqlTypes.StorageState Storage { get { throw null; } } public char[] Value { get { throw null; } } public static System.Xml.XmlQualifiedName GetXsdType(System.Xml.Schema.XmlSchemaSet schemaSet) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlChars value) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlChars(System.Data.SqlTypes.SqlString value) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlChars value) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlChars (System.Data.SqlTypes.SqlString value) { throw null; } public long Read(long offset, char[] buffer, int offsetInBuffer, int count) { throw null; } public void SetLength(long value) { } public void SetNull() { } @@ -2588,9 +2587,9 @@ public enum SqlCompareOptions None = 0, } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlDateTime MaxValue; public static readonly System.Data.SqlTypes.SqlDateTime MinValue; public static readonly System.Data.SqlTypes.SqlDateTime Null; @@ -2621,11 +2620,11 @@ public partial struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComp public static System.Data.SqlTypes.SqlBoolean NotEquals(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } public static System.Data.SqlTypes.SqlDateTime operator +(System.Data.SqlTypes.SqlDateTime x, System.TimeSpan t) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } - public static explicit operator System.DateTime(System.Data.SqlTypes.SqlDateTime x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDateTime(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.DateTime (System.Data.SqlTypes.SqlDateTime x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDateTime (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDateTime(System.DateTime value) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDateTime (System.DateTime value) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y) { throw null; } @@ -2639,9 +2638,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public override string ToString() { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlDecimal : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly byte MaxPrecision; public static readonly byte MaxScale; public static readonly System.Data.SqlTypes.SqlDecimal MaxValue; @@ -2682,21 +2681,21 @@ public partial struct SqlDecimal : System.Data.SqlTypes.INullable, System.ICompa public static System.Data.SqlTypes.SqlDecimal operator +(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } public static System.Data.SqlTypes.SqlDecimal operator /(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator decimal(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlString x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDecimal(double x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator decimal (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDecimal (double x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(decimal x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDecimal(long x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (decimal x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDecimal (long x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) { throw null; } @@ -2725,9 +2724,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public static System.Data.SqlTypes.SqlDecimal Truncate(System.Data.SqlTypes.SqlDecimal n, int position) { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlDouble : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlDouble MaxValue; public static readonly System.Data.SqlTypes.SqlDouble MinValue; public static readonly System.Data.SqlTypes.SqlDouble Null; @@ -2752,19 +2751,19 @@ public partial struct SqlDouble : System.Data.SqlTypes.INullable, System.ICompar public static System.Data.SqlTypes.SqlDouble operator +(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } public static System.Data.SqlTypes.SqlDouble operator /(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator double(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator double (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlDouble(double x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlDouble (double x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlDouble x, System.Data.SqlTypes.SqlDouble y) { throw null; } @@ -2788,9 +2787,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public override string ToString() { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private object _dummy; public static readonly System.Data.SqlTypes.SqlGuid Null; public SqlGuid(byte[] value) { throw null; } public SqlGuid(System.Guid g) { throw null; } @@ -2810,12 +2809,12 @@ public partial struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparab public static System.Data.SqlTypes.SqlBoolean LessThanOrEqual(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } public static System.Data.SqlTypes.SqlBoolean NotEquals(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlGuid(System.Data.SqlTypes.SqlBinary x) { throw null; } - public static explicit operator System.Guid(System.Data.SqlTypes.SqlGuid x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlGuid(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlGuid (System.Data.SqlTypes.SqlBinary x) { throw null; } + public static explicit operator System.Guid (System.Data.SqlTypes.SqlGuid x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlGuid (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlGuid(System.Guid x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlGuid (System.Guid x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlGuid x, System.Data.SqlTypes.SqlGuid y) { throw null; } @@ -2829,9 +2828,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public override string ToString() { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlInt16 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlInt16 MaxValue; public static readonly System.Data.SqlTypes.SqlInt16 MinValue; public static readonly System.Data.SqlTypes.SqlInt16 Null; @@ -2864,19 +2863,19 @@ public partial struct SqlInt16 : System.Data.SqlTypes.INullable, System.ICompara public static System.Data.SqlTypes.SqlInt16 operator /(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } public static System.Data.SqlTypes.SqlInt16 operator ^(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator short(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator short (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt16(short x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt16 (short x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } @@ -2903,9 +2902,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public static System.Data.SqlTypes.SqlInt16 Xor(System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y) { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlInt32 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlInt32 MaxValue; public static readonly System.Data.SqlTypes.SqlInt32 MinValue; public static readonly System.Data.SqlTypes.SqlInt32 Null; @@ -2938,19 +2937,19 @@ public partial struct SqlInt32 : System.Data.SqlTypes.INullable, System.ICompara public static System.Data.SqlTypes.SqlInt32 operator /(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } public static System.Data.SqlTypes.SqlInt32 operator ^(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator int(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator int (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt32(int x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt32 (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt32 (int x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } @@ -2977,9 +2976,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public static System.Data.SqlTypes.SqlInt32 Xor(System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y) { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlInt64 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlInt64 MaxValue; public static readonly System.Data.SqlTypes.SqlInt64 MinValue; public static readonly System.Data.SqlTypes.SqlInt64 Null; @@ -3012,19 +3011,19 @@ public partial struct SqlInt64 : System.Data.SqlTypes.INullable, System.ICompara public static System.Data.SqlTypes.SqlInt64 operator /(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } public static System.Data.SqlTypes.SqlInt64 operator ^(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator long(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator long (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt64(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlInt64(long x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlInt64 (long x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } @@ -3051,9 +3050,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public static System.Data.SqlTypes.SqlInt64 Xor(System.Data.SqlTypes.SqlInt64 x, System.Data.SqlTypes.SqlInt64 y) { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlMoney : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlMoney MaxValue; public static readonly System.Data.SqlTypes.SqlMoney MinValue; public static readonly System.Data.SqlTypes.SqlMoney Null; @@ -3081,21 +3080,21 @@ public partial struct SqlMoney : System.Data.SqlTypes.INullable, System.ICompara public static System.Data.SqlTypes.SqlMoney operator +(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } public static System.Data.SqlTypes.SqlMoney operator /(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator decimal(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlString x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlMoney(double x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator decimal (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlMoney (double x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(decimal x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlMoney(long x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (decimal x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlMoney (long x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlMoney x, System.Data.SqlTypes.SqlMoney y) { throw null; } @@ -3135,9 +3134,9 @@ public SqlNullValueException(string message) { } public SqlNullValueException(string message, System.Exception e) { } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlSingle : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private int _dummy; public static readonly System.Data.SqlTypes.SqlSingle MaxValue; public static readonly System.Data.SqlTypes.SqlSingle MinValue; public static readonly System.Data.SqlTypes.SqlSingle Null; @@ -3163,19 +3162,19 @@ public partial struct SqlSingle : System.Data.SqlTypes.INullable, System.ICompar public static System.Data.SqlTypes.SqlSingle operator +(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } public static System.Data.SqlTypes.SqlSingle operator /(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator float(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator float (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlByte x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlSingle(float x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlByte x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlSingle (float x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlSingle x, System.Data.SqlTypes.SqlSingle y) { throw null; } @@ -3199,9 +3198,9 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri public override string ToString() { throw null; } } [System.Xml.Serialization.XmlSchemaProviderAttribute("GetXsdType")] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SqlString : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable { + private object _dummy; public static readonly int BinarySort; public static readonly int BinarySort2; public static readonly int IgnoreCase; @@ -3241,21 +3240,21 @@ public partial struct SqlString : System.Data.SqlTypes.INullable, System.ICompar public static System.Data.SqlTypes.SqlBoolean NotEquals(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } public static System.Data.SqlTypes.SqlString operator +(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator ==(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlBoolean x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlByte x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDateTime x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDecimal x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDouble x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlGuid x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt16 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt32 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt64 x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlMoney x) { throw null; } - public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlSingle x) { throw null; } - public static explicit operator string(System.Data.SqlTypes.SqlString x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlBoolean x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlByte x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlDateTime x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlDecimal x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlDouble x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlGuid x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlInt16 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlInt32 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlInt64 x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlMoney x) { throw null; } + public static explicit operator System.Data.SqlTypes.SqlString (System.Data.SqlTypes.SqlSingle x) { throw null; } + public static explicit operator string (System.Data.SqlTypes.SqlString x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator >=(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } - public static implicit operator System.Data.SqlTypes.SqlString(string x) { throw null; } + public static implicit operator System.Data.SqlTypes.SqlString (string x) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator !=(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } public static System.Data.SqlTypes.SqlBoolean operator <=(System.Data.SqlTypes.SqlString x, System.Data.SqlTypes.SqlString y) { throw null; } @@ -3309,4 +3308,4 @@ public enum StorageState Stream = 1, UnmanagedBuffer = 2, } -} \ No newline at end of file +} diff --git a/src/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs b/src/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs index 611ab57f96e8..df97fc942c26 100644 --- a/src/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs +++ b/src/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs @@ -31,12 +31,12 @@ public void Insert(int index, System.Diagnostics.CounterCreationData value) { } protected override void OnValidate(object value) { } public virtual void Remove(System.Diagnostics.CounterCreationData value) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CounterSample { + private readonly int _dummy; public static System.Diagnostics.CounterSample Empty; - public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType) { throw null;} - public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType, long counterTimeStamp) { throw null;} + public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType) { throw null; } + public CounterSample(long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System.Diagnostics.PerformanceCounterType counterType, long counterTimeStamp) { throw null; } public long BaseValue { get { throw null; } } public long CounterFrequency { get { throw null; } } public long CounterTimeStamp { get { throw null; } } @@ -171,7 +171,7 @@ public PerformanceCounterManager() { } [System.ObsoleteAttribute("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")] void System.Diagnostics.ICollectData.CloseData() { } [System.ObsoleteAttribute("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")] - void System.Diagnostics.ICollectData.CollectData(int callIdx, System.IntPtr valueNamePtr, System.IntPtr dataPtr, int totalBytes, out System.IntPtr res) { res = default(System.IntPtr); } + void System.Diagnostics.ICollectData.CollectData(int callIdx, System.IntPtr valueNamePtr, System.IntPtr dataPtr, int totalBytes, out System.IntPtr res) { throw null; } } public enum PerformanceCounterType { diff --git a/src/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs b/src/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs index f7e68daac5c4..9a9d62d03435 100644 --- a/src/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs +++ b/src/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs @@ -5,7 +5,6 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Diagnostics { public partial class StackFrame @@ -52,7 +51,6 @@ public StackTrace(int skipFrames, bool fNeedFileInfo) { } public override string ToString() { throw null; } } } - namespace System.Diagnostics.SymbolStore { public partial interface ISymbolBinder @@ -172,9 +170,9 @@ public enum SymAddressKind NativeSectionOffset = 10, NativeStackRegister = 8, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SymbolToken { + private readonly object _dummy; public SymbolToken(int val) { throw null; } public bool Equals(System.Diagnostics.SymbolStore.SymbolToken obj) { throw null; } public override bool Equals(object obj) { throw null; } diff --git a/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs b/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs index 0b1c8bc5e08e..992ac79f0183 100644 --- a/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs +++ b/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs @@ -222,6 +222,7 @@ protected unsafe void WriteEventWithRelatedActivityIdCore(int eventId, System.Gu [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] protected internal partial struct EventData { + private int _dummy; public System.IntPtr DataPointer { get { throw null; } set { } } public int Size { get { throw null; } set { } } } @@ -251,6 +252,7 @@ protected EventSourceException(System.Runtime.Serialization.SerializationInfo in [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct EventSourceOptions { + private int _dummy; public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get { throw null; } set { } } public System.Diagnostics.Tracing.EventKeywords Keywords { get { throw null; } set { } } public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } set { } } diff --git a/src/System.Drawing.Common/ref/System.Drawing.Common.cs b/src/System.Drawing.Common/ref/System.Drawing.Common.cs index 8879be36d8e1..715ca992e720 100644 --- a/src/System.Drawing.Common/ref/System.Drawing.Common.cs +++ b/src/System.Drawing.Common/ref/System.Drawing.Common.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // ------------------------------------------------------------------------------ -// Changes to this file must follow the http://aka.ms/api-review process +// Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ namespace System.Drawing @@ -227,10 +227,10 @@ public static partial class BufferedGraphicsManager { public static System.Drawing.BufferedGraphicsContext Current { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct CharacterRange { - public CharacterRange(int First, int Length) { throw null;} + private int _dummy; + public CharacterRange(int First, int Length) { throw null; } public int First { get { throw null; } set { } } public int Length { get { throw null; } set { } } public override bool Equals(object obj) { throw null; } @@ -280,7 +280,7 @@ public enum CopyPixelOperation SourcePaint = 15597702, Whiteness = 16711778, } - public sealed partial class Font : System.MarshalByRefObject, System.ICloneable, System.IDisposable, Runtime.Serialization.ISerializable + public sealed partial class Font : System.MarshalByRefObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable { public Font(System.Drawing.Font prototype, System.Drawing.FontStyle newStyle) { } public Font(System.Drawing.FontFamily family, float emSize) { } @@ -337,7 +337,7 @@ public void Dispose() { } public float GetHeight() { throw null; } public float GetHeight(System.Drawing.Graphics graphics) { throw null; } public float GetHeight(float dpi) { throw null; } - void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } public System.IntPtr ToHfont() { throw null; } public void ToLogFont(object logFont) { } public void ToLogFont(object logFont, System.Drawing.Graphics graphics) { } @@ -592,7 +592,7 @@ public void IntersectClip(System.Drawing.Region region) { } public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, System.Drawing.PointF origin, System.Drawing.StringFormat stringFormat) { throw null; } public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, System.Drawing.SizeF layoutArea) { throw null; } public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, System.Drawing.SizeF layoutArea, System.Drawing.StringFormat stringFormat) { throw null; } - public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, System.Drawing.SizeF layoutArea, System.Drawing.StringFormat stringFormat, out int charactersFitted, out int linesFilled) { charactersFitted = default(int); linesFilled = default(int); throw null; } + public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, System.Drawing.SizeF layoutArea, System.Drawing.StringFormat stringFormat, out int charactersFitted, out int linesFilled) { throw null; } public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, int width) { throw null; } public System.Drawing.SizeF MeasureString(string text, System.Drawing.Font font, int width, System.Drawing.StringFormat format) { throw null; } public void MultiplyTransform(System.Drawing.Drawing2D.Matrix matrix) { } @@ -638,7 +638,7 @@ public enum GraphicsUnit Point = 3, World = 0, } - public sealed partial class Icon : System.MarshalByRefObject, System.ICloneable, System.IDisposable, Runtime.Serialization.ISerializable + public sealed partial class Icon : System.MarshalByRefObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable { public Icon(System.Drawing.Icon original, System.Drawing.Size size) { } public Icon(System.Drawing.Icon original, int width, int height) { } @@ -661,8 +661,8 @@ public void Dispose() { } public static System.Drawing.Icon ExtractAssociatedIcon(string filePath) { throw null; } ~Icon() { } public static System.Drawing.Icon FromHandle(System.IntPtr handle) { throw null; } - void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } public void Save(System.IO.Stream outputStream) { } + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public System.Drawing.Bitmap ToBitmap() { throw null; } public override string ToString() { throw null; } } @@ -672,7 +672,7 @@ public partial interface IDeviceContext : System.IDisposable void ReleaseHdc(); } [System.ComponentModel.ImmutableObjectAttribute(true)] - public abstract partial class Image : System.MarshalByRefObject, System.ICloneable, System.IDisposable, Runtime.Serialization.ISerializable + public abstract partial class Image : System.MarshalByRefObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable { internal Image() { } [System.ComponentModel.BrowsableAttribute(false)] @@ -716,7 +716,6 @@ protected virtual void Dispose(bool disposing) { } public System.Drawing.RectangleF GetBounds(ref System.Drawing.GraphicsUnit pageUnit) { throw null; } public System.Drawing.Imaging.EncoderParameters GetEncoderParameterList(System.Guid encoder) { throw null; } public int GetFrameCount(System.Drawing.Imaging.FrameDimension dimension) { throw null; } - void Runtime.Serialization.ISerializable.GetObjectData(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } public static int GetPixelFormatSize(System.Drawing.Imaging.PixelFormat pixfmt) { throw null; } public System.Drawing.Imaging.PropertyItem GetPropertyItem(int propid) { throw null; } public System.Drawing.Image GetThumbnailImage(int thumbWidth, int thumbHeight, System.Drawing.Image.GetThumbnailImageAbort callback, System.IntPtr callbackData) { throw null; } @@ -734,6 +733,7 @@ public void SaveAdd(System.Drawing.Image image, System.Drawing.Imaging.EncoderPa public void SaveAdd(System.Drawing.Imaging.EncoderParameters encoderParams) { } public int SelectActiveFrame(System.Drawing.Imaging.FrameDimension dimension, int frameIndex) { throw null; } public void SetPropertyItem(System.Drawing.Imaging.PropertyItem propitem) { } + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public delegate bool GetThumbnailImageAbort(); } public sealed partial class ImageAnimator @@ -1043,7 +1043,7 @@ public StringFormat(System.Drawing.StringFormatFlags options, int language) { } public object Clone() { throw null; } public void Dispose() { } ~StringFormat() { } - public float[] GetTabStops(out float firstTabOffset) { firstTabOffset = default(float); throw null; } + public float[] GetTabStops(out float firstTabOffset) { throw null; } public void SetDigitSubstitution(int language, System.Drawing.StringDigitSubstitute substitute) { } public void SetMeasurableCharacterRanges(System.Drawing.CharacterRange[] ranges) { } public void SetTabStops(float firstTabOffset, float[] tabStops) { } @@ -1337,7 +1337,7 @@ public CustomLineCap(System.Drawing.Drawing2D.GraphicsPath fillPath, System.Draw public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~CustomLineCap() { } - public void GetStrokeCaps(out System.Drawing.Drawing2D.LineCap startCap, out System.Drawing.Drawing2D.LineCap endCap) { startCap = default(System.Drawing.Drawing2D.LineCap); endCap = default(System.Drawing.Drawing2D.LineCap); } + public void GetStrokeCaps(out System.Drawing.Drawing2D.LineCap startCap, out System.Drawing.Drawing2D.LineCap endCap) { throw null; } public void SetStrokeCaps(System.Drawing.Drawing2D.LineCap startCap, System.Drawing.Drawing2D.LineCap endCap) { } } public enum DashCap @@ -1479,10 +1479,10 @@ public void Dispose() { } ~GraphicsPathIterator() { } public bool HasCurve() { throw null; } public int NextMarker(System.Drawing.Drawing2D.GraphicsPath path) { throw null; } - public int NextMarker(out int startIndex, out int endIndex) { startIndex = default(int); endIndex = default(int); throw null; } - public int NextPathType(out byte pathType, out int startIndex, out int endIndex) { pathType = default(byte); startIndex = default(int); endIndex = default(int); throw null; } - public int NextSubpath(System.Drawing.Drawing2D.GraphicsPath path, out bool isClosed) { isClosed = default(bool); throw null; } - public int NextSubpath(out int startIndex, out int endIndex, out bool isClosed) { startIndex = default(int); endIndex = default(int); isClosed = default(bool); throw null; } + public int NextMarker(out int startIndex, out int endIndex) { throw null; } + public int NextPathType(out byte pathType, out int startIndex, out int endIndex) { throw null; } + public int NextSubpath(System.Drawing.Drawing2D.GraphicsPath path, out bool isClosed) { throw null; } + public int NextSubpath(out int startIndex, out int endIndex, out bool isClosed) { throw null; } public void Rewind() { } } public sealed partial class GraphicsState : System.MarshalByRefObject @@ -2519,8 +2519,9 @@ public enum Duplex } public partial class InvalidPrinterException : System.SystemException { - protected InvalidPrinterException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } public InvalidPrinterException(System.Drawing.Printing.PrinterSettings settings) { } + protected InvalidPrinterException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class Margins : System.ICloneable { diff --git a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs index c4f3334a4a6d..75fae53c5cd3 100644 --- a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs +++ b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs @@ -9,6 +9,7 @@ namespace System.Drawing { public readonly partial struct Color : System.IEquatable { + private readonly object _dummy; public static readonly System.Drawing.Color Empty; public byte A { get { throw null; } } public static System.Drawing.Color AliceBlue { get { throw null; } } @@ -178,205 +179,6 @@ namespace System.Drawing public System.Drawing.KnownColor ToKnownColor() { throw null; } public override string ToString() { throw null; } } - public partial struct Point : System.IEquatable - { - public static readonly System.Drawing.Point Empty; - public Point(System.Drawing.Size sz) { throw null; } - public Point(int dw) { throw null; } - public Point(int x, int y) { throw null; } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - public int X { get { throw null; } set { } } - public int Y { get { throw null; } set { } } - public static System.Drawing.Point Add(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.Point Ceiling(System.Drawing.PointF value) { throw null; } - public bool Equals(System.Drawing.Point other) { throw null; } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public void Offset(System.Drawing.Point p) { } - public void Offset(int dx, int dy) { } - public static System.Drawing.Point operator +(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } - public static bool operator ==(System.Drawing.Point left, System.Drawing.Point right) { throw null; } - public static explicit operator System.Drawing.Size (System.Drawing.Point p) { throw null; } - public static implicit operator System.Drawing.PointF (System.Drawing.Point p) { throw null; } - public static bool operator !=(System.Drawing.Point left, System.Drawing.Point right) { throw null; } - public static System.Drawing.Point operator -(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.Point Round(System.Drawing.PointF value) { throw null; } - public static System.Drawing.Point Subtract(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } - public override string ToString() { throw null; } - public static System.Drawing.Point Truncate(System.Drawing.PointF value) { throw null; } - } - public partial struct PointF : System.IEquatable - { - public static readonly System.Drawing.PointF Empty; - public PointF(float x, float y) { throw null; } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - public float X { get { throw null; } set { } } - public float Y { get { throw null; } set { } } - public static System.Drawing.PointF Add(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.PointF Add(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } - public bool Equals(System.Drawing.PointF other) { throw null; } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.PointF operator +(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.PointF operator +(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } - public static bool operator ==(System.Drawing.PointF left, System.Drawing.PointF right) { throw null; } - public static bool operator !=(System.Drawing.PointF left, System.Drawing.PointF right) { throw null; } - public static System.Drawing.PointF operator -(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.PointF operator -(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } - public static System.Drawing.PointF Subtract(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } - public static System.Drawing.PointF Subtract(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } - public override string ToString() { throw null; } - } - public partial struct Rectangle : System.IEquatable - { - public static readonly System.Drawing.Rectangle Empty; - public Rectangle(System.Drawing.Point location, System.Drawing.Size size) { throw null; } - public Rectangle(int x, int y, int width, int height) { throw null; } - [System.ComponentModel.Browsable(false)] - public int Bottom { get { throw null; } } - public int Height { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public int Left { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public int Right { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public int Top { get { throw null; } } - public int Width { get { throw null; } set { } } - public int X { get { throw null; } set { } } - public int Y { get { throw null; } set { } } - public static System.Drawing.Rectangle Ceiling(System.Drawing.RectangleF value) { throw null; } - public bool Contains(System.Drawing.Point pt) { throw null; } - public bool Contains(System.Drawing.Rectangle rect) { throw null; } - public bool Contains(int x, int y) { throw null; } - public bool Equals(System.Drawing.Rectangle other) { throw null; } - public override bool Equals(object obj) { throw null; } - public static System.Drawing.Rectangle FromLTRB(int left, int top, int right, int bottom) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.Rectangle Inflate(System.Drawing.Rectangle rect, int x, int y) { throw null; } - public void Inflate(System.Drawing.Size size) { } - public void Inflate(int width, int height) { } - public void Intersect(System.Drawing.Rectangle rect) { } - public static System.Drawing.Rectangle Intersect(System.Drawing.Rectangle a, System.Drawing.Rectangle b) { throw null; } - public bool IntersectsWith(System.Drawing.Rectangle rect) { throw null; } - public void Offset(System.Drawing.Point pos) { } - public void Offset(int x, int y) { } - public static bool operator ==(System.Drawing.Rectangle left, System.Drawing.Rectangle right) { throw null; } - public static bool operator !=(System.Drawing.Rectangle left, System.Drawing.Rectangle right) { throw null; } - public static System.Drawing.Rectangle Round(System.Drawing.RectangleF value) { throw null; } - public override string ToString() { throw null; } - public static System.Drawing.Rectangle Truncate(System.Drawing.RectangleF value) { throw null; } - public static System.Drawing.Rectangle Union(System.Drawing.Rectangle a, System.Drawing.Rectangle b) { throw null; } - } - public partial struct RectangleF : System.IEquatable - { - public static readonly System.Drawing.RectangleF Empty; - public RectangleF(System.Drawing.PointF location, System.Drawing.SizeF size) { throw null; } - public RectangleF(float x, float y, float width, float height) { throw null; } - [System.ComponentModel.Browsable(false)] - public float Bottom { get { throw null; } } - public float Height { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public float Left { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public System.Drawing.PointF Location { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public float Right { get { throw null; } } - [System.ComponentModel.Browsable(false)] - public System.Drawing.SizeF Size { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public float Top { get { throw null; } } - public float Width { get { throw null; } set { } } - public float X { get { throw null; } set { } } - public float Y { get { throw null; } set { } } - public bool Contains(System.Drawing.PointF pt) { throw null; } - public bool Contains(System.Drawing.RectangleF rect) { throw null; } - public bool Contains(float x, float y) { throw null; } - public bool Equals(System.Drawing.RectangleF other) { throw null; } - public override bool Equals(object obj) { throw null; } - public static System.Drawing.RectangleF FromLTRB(float left, float top, float right, float bottom) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.RectangleF Inflate(System.Drawing.RectangleF rect, float x, float y) { throw null; } - public void Inflate(System.Drawing.SizeF size) { } - public void Inflate(float x, float y) { } - public void Intersect(System.Drawing.RectangleF rect) { } - public static System.Drawing.RectangleF Intersect(System.Drawing.RectangleF a, System.Drawing.RectangleF b) { throw null; } - public bool IntersectsWith(System.Drawing.RectangleF rect) { throw null; } - public void Offset(System.Drawing.PointF pos) { } - public void Offset(float x, float y) { } - public static bool operator ==(System.Drawing.RectangleF left, System.Drawing.RectangleF right) { throw null; } - public static implicit operator System.Drawing.RectangleF (System.Drawing.Rectangle r) { throw null; } - public static bool operator !=(System.Drawing.RectangleF left, System.Drawing.RectangleF right) { throw null; } - public override string ToString() { throw null; } - public static System.Drawing.RectangleF Union(System.Drawing.RectangleF a, System.Drawing.RectangleF b) { throw null; } - } - public partial struct Size : System.IEquatable - { - public static readonly System.Drawing.Size Empty; - public Size(System.Drawing.Point pt) { throw null; } - public Size(int width, int height) { throw null; } - public int Height { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - public int Width { get { throw null; } set { } } - public static System.Drawing.Size Add(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public static System.Drawing.Size Ceiling(System.Drawing.SizeF value) { throw null; } - public bool Equals(System.Drawing.Size other) { throw null; } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.Size operator +(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public static System.Drawing.Size operator *(int left, System.Drawing.Size right) { throw null; } - public static System.Drawing.Size operator *(System.Drawing.Size left, int right) { throw null; } - public static System.Drawing.SizeF operator *(float left, System.Drawing.Size right) { throw null; } - public static System.Drawing.SizeF operator *(System.Drawing.Size left, float right) { throw null; } - public static System.Drawing.Size operator /(System.Drawing.Size left, int right) { throw null; } - public static System.Drawing.SizeF operator /(System.Drawing.Size left, float right) { throw null; } - public static bool operator ==(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public static explicit operator System.Drawing.Point (System.Drawing.Size size) { throw null; } - public static implicit operator System.Drawing.SizeF (System.Drawing.Size p) { throw null; } - public static bool operator !=(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public static System.Drawing.Size operator -(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public static System.Drawing.Size Round(System.Drawing.SizeF value) { throw null; } - public static System.Drawing.Size Subtract(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } - public override string ToString() { throw null; } - public static System.Drawing.Size Truncate(System.Drawing.SizeF value) { throw null; } - } - public partial struct SizeF : System.IEquatable - { - public static readonly System.Drawing.SizeF Empty; - public SizeF(System.Drawing.PointF pt) { throw null; } - public SizeF(System.Drawing.SizeF size) { throw null; } - public SizeF(float width, float height) { throw null; } - public float Height { get { throw null; } set { } } - [System.ComponentModel.Browsable(false)] - public bool IsEmpty { get { throw null; } } - public float Width { get { throw null; } set { } } - public static System.Drawing.SizeF Add(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public bool Equals(System.Drawing.SizeF other) { throw null; } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.SizeF operator +(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public static bool operator ==(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public static explicit operator System.Drawing.PointF (System.Drawing.SizeF size) { throw null; } - public static bool operator !=(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public static System.Drawing.SizeF operator -(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public static System.Drawing.SizeF Subtract(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } - public static System.Drawing.SizeF operator *(float left, System.Drawing.SizeF right) { throw null; } - public static System.Drawing.SizeF operator *(System.Drawing.SizeF left, float right) { throw null; } - public static System.Drawing.SizeF operator /(System.Drawing.SizeF left, float right) { throw null; } - public System.Drawing.PointF ToPointF() { throw null; } - public System.Drawing.Size ToSize() { throw null; } - public override string ToString() { throw null; } - } public enum KnownColor { ActiveBorder = 1, @@ -554,4 +356,209 @@ public enum KnownColor Yellow = 166, YellowGreen = 167, } + public partial struct Point : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.Point Empty; + public Point(System.Drawing.Size sz) { throw null; } + public Point(int dw) { throw null; } + public Point(int x, int y) { throw null; } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + public int X { get { throw null; } set { } } + public int Y { get { throw null; } set { } } + public static System.Drawing.Point Add(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.Point Ceiling(System.Drawing.PointF value) { throw null; } + public bool Equals(System.Drawing.Point other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public void Offset(System.Drawing.Point p) { } + public void Offset(int dx, int dy) { } + public static System.Drawing.Point operator +(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } + public static bool operator ==(System.Drawing.Point left, System.Drawing.Point right) { throw null; } + public static explicit operator System.Drawing.Size (System.Drawing.Point p) { throw null; } + public static implicit operator System.Drawing.PointF (System.Drawing.Point p) { throw null; } + public static bool operator !=(System.Drawing.Point left, System.Drawing.Point right) { throw null; } + public static System.Drawing.Point operator -(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.Point Round(System.Drawing.PointF value) { throw null; } + public static System.Drawing.Point Subtract(System.Drawing.Point pt, System.Drawing.Size sz) { throw null; } + public override string ToString() { throw null; } + public static System.Drawing.Point Truncate(System.Drawing.PointF value) { throw null; } + } + public partial struct PointF : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.PointF Empty; + public PointF(float x, float y) { throw null; } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + public float X { get { throw null; } set { } } + public float Y { get { throw null; } set { } } + public static System.Drawing.PointF Add(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.PointF Add(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } + public bool Equals(System.Drawing.PointF other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static System.Drawing.PointF operator +(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.PointF operator +(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } + public static bool operator ==(System.Drawing.PointF left, System.Drawing.PointF right) { throw null; } + public static bool operator !=(System.Drawing.PointF left, System.Drawing.PointF right) { throw null; } + public static System.Drawing.PointF operator -(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.PointF operator -(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } + public static System.Drawing.PointF Subtract(System.Drawing.PointF pt, System.Drawing.Size sz) { throw null; } + public static System.Drawing.PointF Subtract(System.Drawing.PointF pt, System.Drawing.SizeF sz) { throw null; } + public override string ToString() { throw null; } + } + public partial struct Rectangle : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.Rectangle Empty; + public Rectangle(System.Drawing.Point location, System.Drawing.Size size) { throw null; } + public Rectangle(int x, int y, int width, int height) { throw null; } + [System.ComponentModel.BrowsableAttribute(false)] + public int Bottom { get { throw null; } } + public int Height { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public int Left { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public System.Drawing.Point Location { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public int Right { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public System.Drawing.Size Size { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public int Top { get { throw null; } } + public int Width { get { throw null; } set { } } + public int X { get { throw null; } set { } } + public int Y { get { throw null; } set { } } + public static System.Drawing.Rectangle Ceiling(System.Drawing.RectangleF value) { throw null; } + public bool Contains(System.Drawing.Point pt) { throw null; } + public bool Contains(System.Drawing.Rectangle rect) { throw null; } + public bool Contains(int x, int y) { throw null; } + public bool Equals(System.Drawing.Rectangle other) { throw null; } + public override bool Equals(object obj) { throw null; } + public static System.Drawing.Rectangle FromLTRB(int left, int top, int right, int bottom) { throw null; } + public override int GetHashCode() { throw null; } + public static System.Drawing.Rectangle Inflate(System.Drawing.Rectangle rect, int x, int y) { throw null; } + public void Inflate(System.Drawing.Size size) { } + public void Inflate(int width, int height) { } + public void Intersect(System.Drawing.Rectangle rect) { } + public static System.Drawing.Rectangle Intersect(System.Drawing.Rectangle a, System.Drawing.Rectangle b) { throw null; } + public bool IntersectsWith(System.Drawing.Rectangle rect) { throw null; } + public void Offset(System.Drawing.Point pos) { } + public void Offset(int x, int y) { } + public static bool operator ==(System.Drawing.Rectangle left, System.Drawing.Rectangle right) { throw null; } + public static bool operator !=(System.Drawing.Rectangle left, System.Drawing.Rectangle right) { throw null; } + public static System.Drawing.Rectangle Round(System.Drawing.RectangleF value) { throw null; } + public override string ToString() { throw null; } + public static System.Drawing.Rectangle Truncate(System.Drawing.RectangleF value) { throw null; } + public static System.Drawing.Rectangle Union(System.Drawing.Rectangle a, System.Drawing.Rectangle b) { throw null; } + } + public partial struct RectangleF : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.RectangleF Empty; + public RectangleF(System.Drawing.PointF location, System.Drawing.SizeF size) { throw null; } + public RectangleF(float x, float y, float width, float height) { throw null; } + [System.ComponentModel.BrowsableAttribute(false)] + public float Bottom { get { throw null; } } + public float Height { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public float Left { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public System.Drawing.PointF Location { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public float Right { get { throw null; } } + [System.ComponentModel.BrowsableAttribute(false)] + public System.Drawing.SizeF Size { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public float Top { get { throw null; } } + public float Width { get { throw null; } set { } } + public float X { get { throw null; } set { } } + public float Y { get { throw null; } set { } } + public bool Contains(System.Drawing.PointF pt) { throw null; } + public bool Contains(System.Drawing.RectangleF rect) { throw null; } + public bool Contains(float x, float y) { throw null; } + public bool Equals(System.Drawing.RectangleF other) { throw null; } + public override bool Equals(object obj) { throw null; } + public static System.Drawing.RectangleF FromLTRB(float left, float top, float right, float bottom) { throw null; } + public override int GetHashCode() { throw null; } + public static System.Drawing.RectangleF Inflate(System.Drawing.RectangleF rect, float x, float y) { throw null; } + public void Inflate(System.Drawing.SizeF size) { } + public void Inflate(float x, float y) { } + public void Intersect(System.Drawing.RectangleF rect) { } + public static System.Drawing.RectangleF Intersect(System.Drawing.RectangleF a, System.Drawing.RectangleF b) { throw null; } + public bool IntersectsWith(System.Drawing.RectangleF rect) { throw null; } + public void Offset(System.Drawing.PointF pos) { } + public void Offset(float x, float y) { } + public static bool operator ==(System.Drawing.RectangleF left, System.Drawing.RectangleF right) { throw null; } + public static implicit operator System.Drawing.RectangleF (System.Drawing.Rectangle r) { throw null; } + public static bool operator !=(System.Drawing.RectangleF left, System.Drawing.RectangleF right) { throw null; } + public override string ToString() { throw null; } + public static System.Drawing.RectangleF Union(System.Drawing.RectangleF a, System.Drawing.RectangleF b) { throw null; } + } + public partial struct Size : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.Size Empty; + public Size(System.Drawing.Point pt) { throw null; } + public Size(int width, int height) { throw null; } + public int Height { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + public int Width { get { throw null; } set { } } + public static System.Drawing.Size Add(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public static System.Drawing.Size Ceiling(System.Drawing.SizeF value) { throw null; } + public bool Equals(System.Drawing.Size other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static System.Drawing.Size operator +(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public static System.Drawing.Size operator /(System.Drawing.Size left, int right) { throw null; } + public static System.Drawing.SizeF operator /(System.Drawing.Size left, float right) { throw null; } + public static bool operator ==(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public static explicit operator System.Drawing.Point (System.Drawing.Size size) { throw null; } + public static implicit operator System.Drawing.SizeF (System.Drawing.Size p) { throw null; } + public static bool operator !=(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public static System.Drawing.Size operator *(System.Drawing.Size left, int right) { throw null; } + public static System.Drawing.SizeF operator *(System.Drawing.Size left, float right) { throw null; } + public static System.Drawing.Size operator *(int left, System.Drawing.Size right) { throw null; } + public static System.Drawing.SizeF operator *(float left, System.Drawing.Size right) { throw null; } + public static System.Drawing.Size operator -(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public static System.Drawing.Size Round(System.Drawing.SizeF value) { throw null; } + public static System.Drawing.Size Subtract(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; } + public override string ToString() { throw null; } + public static System.Drawing.Size Truncate(System.Drawing.SizeF value) { throw null; } + } + public partial struct SizeF : System.IEquatable + { + private int _dummy; + public static readonly System.Drawing.SizeF Empty; + public SizeF(System.Drawing.PointF pt) { throw null; } + public SizeF(System.Drawing.SizeF size) { throw null; } + public SizeF(float width, float height) { throw null; } + public float Height { get { throw null; } set { } } + [System.ComponentModel.BrowsableAttribute(false)] + public bool IsEmpty { get { throw null; } } + public float Width { get { throw null; } set { } } + public static System.Drawing.SizeF Add(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public bool Equals(System.Drawing.SizeF other) { throw null; } + public override bool Equals(object obj) { throw null; } + public override int GetHashCode() { throw null; } + public static System.Drawing.SizeF operator +(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public static System.Drawing.SizeF operator /(System.Drawing.SizeF left, float right) { throw null; } + public static bool operator ==(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public static explicit operator System.Drawing.PointF (System.Drawing.SizeF size) { throw null; } + public static bool operator !=(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public static System.Drawing.SizeF operator *(System.Drawing.SizeF left, float right) { throw null; } + public static System.Drawing.SizeF operator *(float left, System.Drawing.SizeF right) { throw null; } + public static System.Drawing.SizeF operator -(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public static System.Drawing.SizeF Subtract(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; } + public System.Drawing.PointF ToPointF() { throw null; } + public System.Drawing.Size ToSize() { throw null; } + public override string ToString() { throw null; } + } } diff --git a/src/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.cs b/src/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.cs index 1e1e4247d04c..49e3c074d700 100644 --- a/src/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.cs +++ b/src/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.cs @@ -5,7 +5,6 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.IO { public partial class ErrorEventArgs : System.EventArgs @@ -33,11 +32,16 @@ public FileSystemWatcher(string path, string filter) { } public int InternalBufferSize { get { throw null; } set { } } public System.IO.NotifyFilters NotifyFilter { get { throw null; } set { } } public string Path { get { throw null; } set { } } + public override System.ComponentModel.ISite Site { get { throw null; } set { } } + public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } } public event System.IO.FileSystemEventHandler Changed { add { } remove { } } public event System.IO.FileSystemEventHandler Created { add { } remove { } } public event System.IO.FileSystemEventHandler Deleted { add { } remove { } } public event System.IO.ErrorEventHandler Error { add { } remove { } } public event System.IO.RenamedEventHandler Renamed { add { } remove { } } + public void BeginInit() { } + protected override void Dispose(bool disposing) { } + public void EndInit() { } protected void OnChanged(System.IO.FileSystemEventArgs e) { } protected void OnCreated(System.IO.FileSystemEventArgs e) { } protected void OnDeleted(System.IO.FileSystemEventArgs e) { } @@ -45,18 +49,13 @@ protected void OnError(System.IO.ErrorEventArgs e) { } protected void OnRenamed(System.IO.RenamedEventArgs e) { } public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType) { throw null; } public System.IO.WaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout) { throw null; } - public override System.ComponentModel.ISite Site { get { throw null; } set { } } - public System.ComponentModel.ISynchronizeInvoke SynchronizingObject { get { throw null; } set { } } - public void BeginInit() { } - protected override void Dispose(bool disposing) { } - public void EndInit() { } } public partial class InternalBufferOverflowException : System.SystemException { public InternalBufferOverflowException() { } + protected InternalBufferOverflowException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public InternalBufferOverflowException(string message) { } public InternalBufferOverflowException(string message, System.Exception inner) { } - protected InternalBufferOverflowException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } [System.FlagsAttribute] public enum NotifyFilters @@ -72,13 +71,14 @@ public enum NotifyFilters } public partial class RenamedEventArgs : System.IO.FileSystemEventArgs { - public RenamedEventArgs(System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName) : base(default(System.IO.WatcherChangeTypes), default(string), default(string)) { } + public RenamedEventArgs(System.IO.WatcherChangeTypes changeType, string directory, string name, string oldName) : base (default(System.IO.WatcherChangeTypes), default(string), default(string)) { } public string OldFullPath { get { throw null; } } public string OldName { get { throw null; } } } public delegate void RenamedEventHandler(object sender, System.IO.RenamedEventArgs e); - public struct WaitForChangedResult + public partial struct WaitForChangedResult { + private object _dummy; public System.IO.WatcherChangeTypes ChangeType { get { throw null; } set { } } public string Name { get { throw null; } set { } } public string OldName { get { throw null; } set { } } diff --git a/src/System.Net.Security/ref/System.Net.Security.cs b/src/System.Net.Security/ref/System.Net.Security.cs index 46e8b3061f91..1aad87183a94 100644 --- a/src/System.Net.Security/ref/System.Net.Security.cs +++ b/src/System.Net.Security/ref/System.Net.Security.cs @@ -124,11 +124,13 @@ public partial class SslClientAuthenticationOptions } public readonly partial struct SslApplicationProtocol : IEquatable { + private readonly object _dummy; + public static readonly SslApplicationProtocol Http2; public static readonly SslApplicationProtocol Http11; - public SslApplicationProtocol(byte[] protocol) { } - public SslApplicationProtocol(string protocol) { } + public SslApplicationProtocol(byte[] protocol) { throw null; } + public SslApplicationProtocol(string protocol) { throw null; } public ReadOnlyMemory Protocol { get { throw null; } } diff --git a/src/System.Net.Sockets/ref/System.Net.Sockets.cs b/src/System.Net.Sockets/ref/System.Net.Sockets.cs index 033dc1765bbb..0cbf93a4603b 100644 --- a/src/System.Net.Sockets/ref/System.Net.Sockets.cs +++ b/src/System.Net.Sockets/ref/System.Net.Sockets.cs @@ -45,9 +45,9 @@ public enum IOControlCode : long TranslateHandle = (long)3355443213, UnicastInterface = (long)2550136838, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct IPPacketInformation { + private object _dummy; public System.Net.IPAddress Address { get { throw null; } } public int Interface { get { throw null; } } public override bool Equals(object comparand) { throw null; } @@ -389,10 +389,10 @@ public enum SocketFlags Peek = 2, Truncated = 256, } -  [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public struct SocketInformation + public partial struct SocketInformation { - public SocketInformationOptions Options { get { throw null; } set { } } + private object _dummy; + public System.Net.Sockets.SocketInformationOptions Options { get { throw null; } set { } } public byte[] ProtocolInformation { get { throw null; } set { } } } [Flags] @@ -638,9 +638,9 @@ public void JoinMulticastGroup(System.Net.IPAddress multicastAddr, System.Net.IP public System.Threading.Tasks.Task SendAsync(byte[] datagram, int bytes, string hostname, int port) { throw null; } public void AllowNatTraversal(bool allowed) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct UdpReceiveResult : System.IEquatable { + private object _dummy; public UdpReceiveResult(byte[] buffer, System.Net.IPEndPoint remoteEndPoint) { throw null; } public byte[] Buffer { get { throw null; } } public System.Net.IPEndPoint RemoteEndPoint { get { throw null; } } diff --git a/src/System.Net.WebSockets/ref/System.Net.WebSockets.cs b/src/System.Net.WebSockets/ref/System.Net.WebSockets.cs index f8f309d43a73..924dc869fe60 100644 --- a/src/System.Net.WebSockets/ref/System.Net.WebSockets.cs +++ b/src/System.Net.WebSockets/ref/System.Net.WebSockets.cs @@ -5,12 +5,12 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Net.WebSockets { public readonly partial struct ValueWebSocketReceiveResult { - public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) { } + private readonly int _dummy; + public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) { throw null; } public int Count { get { throw null; } } public bool EndOfMessage { get { throw null; } } public System.Net.WebSockets.WebSocketMessageType MessageType { get { throw null; } } @@ -18,27 +18,27 @@ public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMes public abstract partial class WebSocket : System.IDisposable { protected WebSocket() { } - public static System.TimeSpan DefaultKeepAliveInterval { get { throw null; } } public abstract System.Nullable CloseStatus { get; } public abstract string CloseStatusDescription { get; } + public static System.TimeSpan DefaultKeepAliveInterval { get { throw null; } } public abstract System.Net.WebSockets.WebSocketState State { get; } public abstract string SubProtocol { get; } public abstract void Abort(); public abstract System.Threading.Tasks.Task CloseAsync(System.Net.WebSockets.WebSocketCloseStatus closeStatus, string statusDescription, System.Threading.CancellationToken cancellationToken); public abstract System.Threading.Tasks.Task CloseOutputAsync(System.Net.WebSockets.WebSocketCloseStatus closeStatus, string statusDescription, System.Threading.CancellationToken cancellationToken); public static System.ArraySegment CreateClientBuffer(int receiveBufferSize, int sendBufferSize) { throw null; } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public static System.Net.WebSockets.WebSocket CreateClientWebSocket(System.IO.Stream innerStream, string subProtocol, int receiveBufferSize, int sendBufferSize, System.TimeSpan keepAliveInterval, bool useZeroMaskingKey, System.ArraySegment internalBuffer) { throw null; } - public static System.Net.WebSockets.WebSocket CreateFromStream(System.IO.Stream stream, bool isServer, string subProtocol, System.TimeSpan keepAliveInterval, System.Memory buffer = default) { throw null; } + public static System.Net.WebSockets.WebSocket CreateFromStream(System.IO.Stream stream, bool isServer, string subProtocol, System.TimeSpan keepAliveInterval, System.Memory buffer=default(System.Memory)) { throw null; } public static System.ArraySegment CreateServerBuffer(int receiveBufferSize) { throw null; } public abstract void Dispose(); - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - [System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")] + [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] + [System.ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")] public static bool IsApplicationTargeting45() { throw null; } protected static bool IsStateTerminal(System.Net.WebSockets.WebSocketState state) { throw null; } public abstract System.Threading.Tasks.Task ReceiveAsync(System.ArraySegment buffer, System.Threading.CancellationToken cancellationToken); public virtual System.Threading.Tasks.ValueTask ReceiveAsync(System.Memory buffer, System.Threading.CancellationToken cancellationToken) { throw null; } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public static void RegisterPrefixes() { } public abstract System.Threading.Tasks.Task SendAsync(System.ArraySegment buffer, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken); public virtual System.Threading.Tasks.Task SendAsync(System.ReadOnlyMemory buffer, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken) { throw null; } @@ -57,19 +57,19 @@ public enum WebSocketCloseStatus PolicyViolation = 1008, ProtocolError = 1002, } - public abstract class WebSocketContext + public abstract partial class WebSocketContext { - public abstract System.Uri RequestUri { get; } + public abstract System.Net.CookieCollection CookieCollection { get; } public abstract System.Collections.Specialized.NameValueCollection Headers { get; } + public abstract bool IsAuthenticated { get; } + public abstract bool IsLocal { get; } + public abstract bool IsSecureConnection { get; } public abstract string Origin { get; } + public abstract System.Uri RequestUri { get; } + public abstract string SecWebSocketKey { get; } public abstract System.Collections.Generic.IEnumerable SecWebSocketProtocols { get; } public abstract string SecWebSocketVersion { get; } - public abstract string SecWebSocketKey { get; } - public abstract System.Net.CookieCollection CookieCollection { get; } public abstract System.Security.Principal.IPrincipal User { get; } - public abstract bool IsAuthenticated { get; } - public abstract bool IsLocal { get; } - public abstract bool IsSecureConnection { get; } public abstract System.Net.WebSockets.WebSocket WebSocket { get; } } public enum WebSocketError @@ -101,9 +101,9 @@ public WebSocketException(System.Net.WebSockets.WebSocketError error, string mes public WebSocketException(System.Net.WebSockets.WebSocketError error, string message, System.Exception innerException) { } public WebSocketException(string message) { } public WebSocketException(string message, System.Exception innerException) { } - public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public System.Net.WebSockets.WebSocketError WebSocketErrorCode { get { throw null; } } public override int ErrorCode { get { throw null; } } + public System.Net.WebSockets.WebSocketError WebSocketErrorCode { get { throw null; } } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public enum WebSocketMessageType { diff --git a/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs index 8d4218f4218e..486ad29db961 100644 --- a/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs +++ b/src/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs @@ -8,7 +8,6 @@ namespace System.Numerics { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Matrix3x2 : System.IEquatable { public float M11; @@ -53,7 +52,6 @@ public partial struct Matrix3x2 : System.IEquatable public static System.Numerics.Matrix3x2 Subtract(System.Numerics.Matrix3x2 value1, System.Numerics.Matrix3x2 value2) { throw null; } public override string ToString() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Matrix4x4 : System.IEquatable { public float M11; @@ -128,7 +126,6 @@ public partial struct Matrix4x4 : System.IEquatable public static System.Numerics.Matrix4x4 Transform(System.Numerics.Matrix4x4 value, System.Numerics.Quaternion rotation) { throw null; } public static System.Numerics.Matrix4x4 Transpose(System.Numerics.Matrix4x4 matrix) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Plane : System.IEquatable { public float D; @@ -150,7 +147,6 @@ public partial struct Plane : System.IEquatable public static System.Numerics.Plane Transform(System.Numerics.Plane plane, System.Numerics.Matrix4x4 matrix) { throw null; } public static System.Numerics.Plane Transform(System.Numerics.Plane plane, System.Numerics.Quaternion rotation) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Quaternion : System.IEquatable { public float W; @@ -299,9 +295,9 @@ public static partial class Vector public static void Widen(System.Numerics.Vector source, out System.Numerics.Vector dest1, out System.Numerics.Vector dest2) { dest1 = default(System.Numerics.Vector); dest2 = default(System.Numerics.Vector); } public static System.Numerics.Vector Xor(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Vector : System.IEquatable>, System.IFormattable where T : struct { + private int _dummy; public Vector(T value) { throw null; } public Vector(T[] values) { throw null; } public Vector(T[] values, int index) { throw null; } @@ -345,7 +341,6 @@ public void CopyTo(T[] destination, int startIndex) { } public string ToString(string format) { throw null; } public string ToString(string format, System.IFormatProvider formatProvider) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Vector2 : System.IEquatable, System.IFormattable { public float X; @@ -401,7 +396,6 @@ public void CopyTo(float[] array, int index) { } public static System.Numerics.Vector2 TransformNormal(System.Numerics.Vector2 normal, System.Numerics.Matrix3x2 matrix) { throw null; } public static System.Numerics.Vector2 TransformNormal(System.Numerics.Vector2 normal, System.Numerics.Matrix4x4 matrix) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Vector3 : System.IEquatable, System.IFormattable { public float X; @@ -459,7 +453,6 @@ public void CopyTo(float[] array, int index) { } public static System.Numerics.Vector3 Transform(System.Numerics.Vector3 value, System.Numerics.Quaternion rotation) { throw null; } public static System.Numerics.Vector3 TransformNormal(System.Numerics.Vector3 normal, System.Numerics.Matrix4x4 matrix) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Vector4 : System.IEquatable, System.IFormattable { public float W; diff --git a/src/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.cs b/src/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.cs index 4a3b3c4cdee9..0009996c2a70 100644 --- a/src/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.cs +++ b/src/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.cs @@ -57,9 +57,9 @@ public virtual void MarkLabel(System.Reflection.Emit.Label loc) { } public virtual void ThrowException(System.Type excType) { } public virtual void UsingNamespace(string usingNamespace) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Label { + private int _dummy; public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Emit.Label obj) { throw null; } public override int GetHashCode() { throw null; } diff --git a/src/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs b/src/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs index 0da6408855f3..93e9e802bb04 100644 --- a/src/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs +++ b/src/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs @@ -82,17 +82,17 @@ public enum MethodSemanticsAttributes } namespace System.Reflection.Metadata { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ArrayShape { - public ArrayShape(int rank, System.Collections.Immutable.ImmutableArray sizes, System.Collections.Immutable.ImmutableArray lowerBounds) { throw null;} + private readonly int _dummy; + public ArrayShape(int rank, System.Collections.Immutable.ImmutableArray sizes, System.Collections.Immutable.ImmutableArray lowerBounds) { throw null; } public System.Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } public int Rank { get { throw null; } } public System.Collections.Immutable.ImmutableArray Sizes { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyDefinition { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Culture { get { throw null; } } public System.Reflection.AssemblyFlags Flags { get { throw null; } } public System.Reflection.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } @@ -105,9 +105,9 @@ public readonly partial struct AssemblyDefinition public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } public System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.AssemblyDefinitionHandle other) { throw null; } @@ -119,17 +119,17 @@ public readonly partial struct AssemblyDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.AssemblyDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.AssemblyDefinitionHandle left, System.Reflection.Metadata.AssemblyDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyFile { + private readonly object _dummy; public bool ContainsMetadata { get { throw null; } } public System.Reflection.Metadata.BlobHandle HashValue { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyFileHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.AssemblyFileHandle other) { throw null; } @@ -141,16 +141,16 @@ public readonly partial struct AssemblyFile public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.AssemblyFileHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.AssemblyFileHandle left, System.Reflection.Metadata.AssemblyFileHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyFileHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.AssemblyFileHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.AssemblyFileHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -158,9 +158,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyReference { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Culture { get { throw null; } } public System.Reflection.AssemblyFlags Flags { get { throw null; } } public System.Reflection.Metadata.BlobHandle HashValue { get { throw null; } } @@ -172,9 +172,9 @@ public readonly partial struct AssemblyReference #endif public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyReferenceHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.AssemblyReferenceHandle other) { throw null; } @@ -186,16 +186,16 @@ public readonly partial struct AssemblyReference public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.AssemblyReferenceHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.AssemblyReferenceHandle left, System.Reflection.Metadata.AssemblyReferenceHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AssemblyReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.AssemblyReferenceHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.AssemblyReferenceHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -203,9 +203,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Blob { + private readonly object _dummy; public bool IsDefault { get { throw null; } } public int Length { get { throw null; } } public System.ArraySegment GetBytes() { throw null; } @@ -268,9 +268,9 @@ public void WriteUserString(string value) { } public void WriteUTF16(char[] value) { } public void WriteUTF16(string value) { } public void WriteUTF8(string value, bool allowUnpairedSurrogates=true) { } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Blobs : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.Blob Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public System.Reflection.Metadata.BlobBuilder.Blobs GetEnumerator() { throw null; } @@ -281,12 +281,12 @@ public void Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct BlobContentId : System.IEquatable { - public BlobContentId(byte[] id) { throw null;} - public BlobContentId(System.Collections.Immutable.ImmutableArray id) { throw null;} - public BlobContentId(System.Guid guid, uint stamp) { throw null;} + private readonly int _dummy; + public BlobContentId(byte[] id) { throw null; } + public BlobContentId(System.Collections.Immutable.ImmutableArray id) { throw null; } + public BlobContentId(System.Guid guid, uint stamp) { throw null; } public System.Guid Guid { get { throw null; } } public bool IsDefault { get { throw null; } } public uint Stamp { get { throw null; } } @@ -299,9 +299,9 @@ void System.IDisposable.Dispose() { } public static bool operator ==(System.Reflection.Metadata.BlobContentId left, System.Reflection.Metadata.BlobContentId right) { throw null; } public static bool operator !=(System.Reflection.Metadata.BlobContentId left, System.Reflection.Metadata.BlobContentId right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct BlobHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.BlobHandle other) { throw null; } @@ -311,10 +311,10 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.BlobHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.BlobHandle left, System.Reflection.Metadata.BlobHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct BlobReader { - public unsafe BlobReader(byte* buffer, int length) { throw null;} + private int _dummy; + public unsafe BlobReader(byte* buffer, int length) { throw null; } public unsafe byte* CurrentPointer { get { throw null; } } public int Length { get { throw null; } } public int Offset { get { throw null; } set { } } @@ -351,16 +351,16 @@ public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } public string ReadUTF16(int byteCount) { throw null; } public string ReadUTF8(int byteCount) { throw null; } public void Reset() { } - public bool TryReadCompressedInteger(out int value) { value = default(int); throw null; } - public bool TryReadCompressedSignedInteger(out int value) { value = default(int); throw null; } + public bool TryReadCompressedInteger(out int value) { throw null; } + public bool TryReadCompressedSignedInteger(out int value) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct BlobWriter { - public BlobWriter(byte[] buffer) { throw null;} - public BlobWriter(byte[] buffer, int start, int count) { throw null;} - public BlobWriter(int size) { throw null;} - public BlobWriter(System.Reflection.Metadata.Blob blob) { throw null;} + private object _dummy; + public BlobWriter(byte[] buffer) { throw null; } + public BlobWriter(byte[] buffer, int start, int count) { throw null; } + public BlobWriter(int size) { throw null; } + public BlobWriter(System.Reflection.Metadata.Blob blob) { throw null; } public System.Reflection.Metadata.Blob Blob { get { throw null; } } public int Length { get { throw null; } } public int Offset { get { throw null; } set { } } @@ -409,16 +409,16 @@ public void WriteUTF16(char[] value) { } public void WriteUTF16(string value) { } public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Constant { + private readonly object _dummy; public System.Reflection.Metadata.EntityHandle Parent { get { throw null; } } public System.Reflection.Metadata.ConstantTypeCode TypeCode { get { throw null; } } public System.Reflection.Metadata.BlobHandle Value { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConstantHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ConstantHandle other) { throw null; } @@ -448,17 +448,17 @@ public enum ConstantTypeCode : byte UInt32 = (byte)9, UInt64 = (byte)11, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttribute { + private readonly object _dummy; public System.Reflection.Metadata.EntityHandle Constructor { get { throw null; } } public System.Reflection.Metadata.EntityHandle Parent { get { throw null; } } public System.Reflection.Metadata.BlobHandle Value { get { throw null; } } public System.Reflection.Metadata.CustomAttributeValue DecodeValue(System.Reflection.Metadata.ICustomAttributeTypeProvider provider) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.CustomAttributeHandle other) { throw null; } @@ -470,16 +470,16 @@ public readonly partial struct CustomAttribute public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.CustomAttributeHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.CustomAttributeHandle left, System.Reflection.Metadata.CustomAttributeHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.CustomAttributeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -492,39 +492,39 @@ public enum CustomAttributeNamedArgumentKind : byte Field = (byte)83, Property = (byte)84, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeNamedArgument { - public CustomAttributeNamedArgument(string name, System.Reflection.Metadata.CustomAttributeNamedArgumentKind kind, TType type, object value) { throw null;} + private readonly TType _Type_k__BackingField; + public CustomAttributeNamedArgument(string name, System.Reflection.Metadata.CustomAttributeNamedArgumentKind kind, TType type, object value) { throw null; } public System.Reflection.Metadata.CustomAttributeNamedArgumentKind Kind { get { throw null; } } public string Name { get { throw null; } } public TType Type { get { throw null; } } public object Value { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeTypedArgument { - public CustomAttributeTypedArgument(TType type, object value) { throw null;} + private readonly TType _Type_k__BackingField; + public CustomAttributeTypedArgument(TType type, object value) { throw null; } public TType Type { get { throw null; } } public object Value { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeValue { - public CustomAttributeValue(System.Collections.Immutable.ImmutableArray> fixedArguments, System.Collections.Immutable.ImmutableArray> namedArguments) { throw null;} + private readonly int _dummy; + public CustomAttributeValue(System.Collections.Immutable.ImmutableArray> fixedArguments, System.Collections.Immutable.ImmutableArray> namedArguments) { throw null; } public System.Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } public System.Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomDebugInformation { + private readonly object _dummy; public System.Reflection.Metadata.GuidHandle Kind { get { throw null; } } public System.Reflection.Metadata.EntityHandle Parent { get { throw null; } } public System.Reflection.Metadata.BlobHandle Value { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomDebugInformationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.CustomDebugInformationHandle other) { throw null; } @@ -536,16 +536,16 @@ public readonly partial struct CustomDebugInformation public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.CustomDebugInformationHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.CustomDebugInformationHandle left, System.Reflection.Metadata.CustomDebugInformationHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.CustomDebugInformationHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.CustomDebugInformationHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -559,16 +559,16 @@ internal DebugMetadataHeader() { } public System.Reflection.Metadata.MethodDefinitionHandle EntryPoint { get { throw null; } } public System.Collections.Immutable.ImmutableArray Id { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DeclarativeSecurityAttribute { + private readonly object _dummy; public System.Reflection.DeclarativeSecurityAction Action { get { throw null; } } public System.Reflection.Metadata.EntityHandle Parent { get { throw null; } } public System.Reflection.Metadata.BlobHandle PermissionSet { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DeclarativeSecurityAttributeHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle other) { throw null; } @@ -580,16 +580,16 @@ public readonly partial struct DeclarativeSecurityAttribute public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.DeclarativeSecurityAttributeHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.DeclarativeSecurityAttributeHandle left, System.Reflection.Metadata.DeclarativeSecurityAttributeHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DeclarativeSecurityAttributeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.DeclarativeSecurityAttributeHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.DeclarativeSecurityAttributeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -597,17 +597,17 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Document { + private readonly object _dummy; public System.Reflection.Metadata.BlobHandle Hash { get { throw null; } } public System.Reflection.Metadata.GuidHandle HashAlgorithm { get { throw null; } } public System.Reflection.Metadata.GuidHandle Language { get { throw null; } } public System.Reflection.Metadata.DocumentNameBlobHandle Name { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DocumentHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.DocumentHandle other) { throw null; } @@ -619,16 +619,16 @@ public readonly partial struct Document public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.DocumentHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.DocumentHandle left, System.Reflection.Metadata.DocumentHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DocumentHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.DocumentHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.DocumentHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -636,9 +636,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DocumentNameBlobHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle other) { throw null; } @@ -648,9 +648,9 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.BlobHandle (System.Reflection.Metadata.DocumentNameBlobHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.DocumentNameBlobHandle left, System.Reflection.Metadata.DocumentNameBlobHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EntityHandle : System.IEquatable { + private readonly int _dummy; public static readonly System.Reflection.Metadata.AssemblyDefinitionHandle AssemblyDefinition; public static readonly System.Reflection.Metadata.ModuleDefinitionHandle ModuleDefinition; public bool IsNil { get { throw null; } } @@ -663,26 +663,26 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.EntityHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.EntityHandle left, System.Reflection.Metadata.EntityHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EventAccessors { + private readonly int _dummy; public System.Reflection.Metadata.MethodDefinitionHandle Adder { get { throw null; } } public System.Collections.Immutable.ImmutableArray Others { get { throw null; } } public System.Reflection.Metadata.MethodDefinitionHandle Raiser { get { throw null; } } public System.Reflection.Metadata.MethodDefinitionHandle Remover { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EventDefinition { + private readonly object _dummy; public System.Reflection.EventAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.EntityHandle Type { get { throw null; } } public System.Reflection.Metadata.EventAccessors GetAccessors() { throw null; } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EventDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.EventDefinitionHandle other) { throw null; } @@ -694,16 +694,16 @@ public readonly partial struct EventDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.EventDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.EventDefinitionHandle left, System.Reflection.Metadata.EventDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EventDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.EventDefinitionHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.EventDefinitionHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -711,9 +711,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExceptionRegion { + private readonly int _dummy; public System.Reflection.Metadata.EntityHandle CatchType { get { throw null; } } public int FilterOffset { get { throw null; } } public int HandlerLength { get { throw null; } } @@ -729,9 +729,9 @@ public enum ExceptionRegionKind : ushort Filter = (ushort)1, Finally = (ushort)2, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExportedType { + private readonly object _dummy; public System.Reflection.TypeAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.EntityHandle Implementation { get { throw null; } } public bool IsForwarder { get { throw null; } } @@ -740,9 +740,9 @@ public readonly partial struct ExportedType public System.Reflection.Metadata.NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExportedTypeHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ExportedTypeHandle other) { throw null; } @@ -754,16 +754,16 @@ public readonly partial struct ExportedType public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ExportedTypeHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ExportedTypeHandle left, System.Reflection.Metadata.ExportedTypeHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExportedTypeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.ExportedTypeHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.ExportedTypeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -771,9 +771,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct FieldDefinition { + private readonly object _dummy; public System.Reflection.FieldAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } @@ -785,9 +785,9 @@ public readonly partial struct FieldDefinition public int GetOffset() { throw null; } public int GetRelativeVirtualAddress() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct FieldDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.FieldDefinitionHandle other) { throw null; } @@ -799,16 +799,16 @@ public readonly partial struct FieldDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.FieldDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.FieldDefinitionHandle left, System.Reflection.Metadata.FieldDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct FieldDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.FieldDefinitionHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.FieldDefinitionHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -816,9 +816,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameter { + private readonly object _dummy; public System.Reflection.GenericParameterAttributes Attributes { get { throw null; } } public int Index { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } @@ -826,16 +826,16 @@ public readonly partial struct GenericParameter public System.Reflection.Metadata.GenericParameterConstraintHandleCollection GetConstraints() { throw null; } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameterConstraint { + private readonly object _dummy; public System.Reflection.Metadata.GenericParameterHandle Parameter { get { throw null; } } public System.Reflection.Metadata.EntityHandle Type { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameterConstraintHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.GenericParameterConstraintHandle other) { throw null; } @@ -847,17 +847,17 @@ public readonly partial struct GenericParameterConstraint public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.GenericParameterConstraintHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.GenericParameterConstraintHandle left, System.Reflection.Metadata.GenericParameterConstraintHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameterConstraintHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.GenericParameterConstraintHandle this[int index] { get { throw null; } } public System.Reflection.Metadata.GenericParameterConstraintHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.GenericParameterConstraintHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -865,9 +865,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameterHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.GenericParameterHandle other) { throw null; } @@ -879,17 +879,17 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.GenericParameterHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.GenericParameterHandle left, System.Reflection.Metadata.GenericParameterHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.GenericParameterHandle this[int index] { get { throw null; } } public System.Reflection.Metadata.GenericParameterHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.GenericParameterHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -897,9 +897,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GuidHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.GuidHandle other) { throw null; } @@ -909,9 +909,9 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.GuidHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.GuidHandle left, System.Reflection.Metadata.GuidHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Handle : System.IEquatable { + private readonly int _dummy; public static readonly System.Reflection.Metadata.AssemblyDefinitionHandle AssemblyDefinition; public static readonly System.Reflection.Metadata.ModuleDefinitionHandle ModuleDefinition; public bool IsNil { get { throw null; } } @@ -1221,24 +1221,24 @@ public ImageFormatLimitationException() { } public ImageFormatLimitationException(string message) { } public ImageFormatLimitationException(string message, System.Exception innerException) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ImportDefinition { + private readonly int _dummy; public System.Reflection.Metadata.BlobHandle Alias { get { throw null; } } public System.Reflection.Metadata.ImportDefinitionKind Kind { get { throw null; } } public System.Reflection.Metadata.AssemblyReferenceHandle TargetAssembly { get { throw null; } } public System.Reflection.Metadata.BlobHandle TargetNamespace { get { throw null; } } public System.Reflection.Metadata.EntityHandle TargetType { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ImportDefinitionCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { + private readonly int _dummy; public System.Reflection.Metadata.ImportDefinitionCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.ImportDefinition Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1258,23 +1258,23 @@ public enum ImportDefinitionKind ImportType = 3, ImportXmlNamespace = 4, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ImportScope { + private readonly object _dummy; public System.Reflection.Metadata.BlobHandle ImportsBlob { get { throw null; } } public System.Reflection.Metadata.ImportScopeHandle Parent { get { throw null; } } public System.Reflection.Metadata.ImportDefinitionCollection GetImports() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ImportScopeCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.ImportScopeCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.ImportScopeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1282,9 +1282,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ImportScopeHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ImportScopeHandle other) { throw null; } @@ -1296,15 +1296,15 @@ void System.IDisposable.Dispose() { } public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ImportScopeHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ImportScopeHandle left, System.Reflection.Metadata.ImportScopeHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct InterfaceImplementation { + private readonly object _dummy; public System.Reflection.Metadata.EntityHandle Interface { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct InterfaceImplementationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.InterfaceImplementationHandle other) { throw null; } @@ -1316,16 +1316,16 @@ public readonly partial struct InterfaceImplementation public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.InterfaceImplementationHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.InterfaceImplementationHandle left, System.Reflection.Metadata.InterfaceImplementationHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct InterfaceImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.InterfaceImplementationHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.InterfaceImplementationHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1352,15 +1352,15 @@ public partial interface ISZArrayTypeProvider { TType GetSZArrayType(TType elementType); } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalConstant { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalConstantHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.LocalConstantHandle other) { throw null; } @@ -1372,16 +1372,16 @@ public readonly partial struct LocalConstant public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.LocalConstantHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.LocalConstantHandle left, System.Reflection.Metadata.LocalConstantHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalConstantHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.LocalConstantHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.LocalConstantHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1389,9 +1389,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalScope { + private readonly object _dummy; public int EndOffset { get { throw null; } } public System.Reflection.Metadata.ImportScopeHandle ImportScope { get { throw null; } } public int Length { get { throw null; } } @@ -1401,9 +1401,9 @@ public readonly partial struct LocalScope public System.Reflection.Metadata.LocalConstantHandleCollection GetLocalConstants() { throw null; } public System.Reflection.Metadata.LocalVariableHandleCollection GetLocalVariables() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalScopeHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.LocalScopeHandle other) { throw null; } @@ -1415,25 +1415,25 @@ public readonly partial struct LocalScope public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.LocalScopeHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.LocalScopeHandle left, System.Reflection.Metadata.LocalScopeHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalScopeHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.LocalScopeHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ChildrenEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.LocalScopeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.LocalScopeHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1441,9 +1441,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalVariable { + private readonly object _dummy; public System.Reflection.Metadata.LocalVariableAttributes Attributes { get { throw null; } } public int Index { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } @@ -1454,9 +1454,9 @@ public enum LocalVariableAttributes DebuggerHidden = 1, None = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalVariableHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.LocalVariableHandle other) { throw null; } @@ -1468,16 +1468,16 @@ public enum LocalVariableAttributes public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.LocalVariableHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.LocalVariableHandle left, System.Reflection.Metadata.LocalVariableHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalVariableHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.LocalVariableHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.LocalVariableHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1485,18 +1485,18 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ManifestResource { + private readonly object _dummy; public System.Reflection.ManifestResourceAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.EntityHandle Implementation { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public long Offset { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ManifestResourceHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ManifestResourceHandle other) { throw null; } @@ -1508,16 +1508,16 @@ public readonly partial struct ManifestResource public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ManifestResourceHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ManifestResourceHandle left, System.Reflection.Metadata.ManifestResourceHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ManifestResourceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.ManifestResourceHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.ManifestResourceHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1525,9 +1525,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MemberReference { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.EntityHandle Parent { get { throw null; } } public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } @@ -1536,9 +1536,9 @@ public readonly partial struct MemberReference public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } public System.Reflection.Metadata.MemberReferenceKind GetKind() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MemberReferenceHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.MemberReferenceHandle other) { throw null; } @@ -1550,16 +1550,16 @@ public readonly partial struct MemberReference public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.MemberReferenceHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.MemberReferenceHandle left, System.Reflection.Metadata.MemberReferenceHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MemberReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.MemberReferenceHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.MemberReferenceHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1687,9 +1687,9 @@ public enum MetadataStreamOptions LeaveOpen = 1, PrefetchMetadata = 2, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MetadataStringComparer { + private readonly object _dummy; public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value) { throw null; } public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } public bool Equals(System.Reflection.Metadata.NamespaceDefinitionHandle handle, string value) { throw null; } @@ -1719,18 +1719,18 @@ internal MethodBodyBlock() { } public System.Collections.Immutable.ImmutableArray GetILContent() { throw null; } public System.Reflection.Metadata.BlobReader GetILReader() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDebugInformation { + private readonly object _dummy; public System.Reflection.Metadata.DocumentHandle Document { get { throw null; } } public System.Reflection.Metadata.StandaloneSignatureHandle LocalSignature { get { throw null; } } public System.Reflection.Metadata.BlobHandle SequencePointsBlob { get { throw null; } } public System.Reflection.Metadata.SequencePointCollection GetSequencePoints() { throw null; } public System.Reflection.Metadata.MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDebugInformationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.MethodDebugInformationHandle other) { throw null; } @@ -1743,16 +1743,16 @@ public readonly partial struct MethodDebugInformation public static bool operator !=(System.Reflection.Metadata.MethodDebugInformationHandle left, System.Reflection.Metadata.MethodDebugInformationHandle right) { throw null; } public System.Reflection.Metadata.MethodDefinitionHandle ToDefinitionHandle() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDebugInformationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.MethodDebugInformationHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.MethodDebugInformationHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1760,9 +1760,9 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDefinition { + private readonly object _dummy; public System.Reflection.MethodAttributes Attributes { get { throw null; } } public System.Reflection.MethodImplAttributes ImplAttributes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } @@ -1776,9 +1776,9 @@ public readonly partial struct MethodDefinition public System.Reflection.Metadata.MethodImport GetImport() { throw null; } public System.Reflection.Metadata.ParameterHandleCollection GetParameters() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.MethodDefinitionHandle other) { throw null; } @@ -1791,16 +1791,16 @@ public readonly partial struct MethodDefinition public static bool operator !=(System.Reflection.Metadata.MethodDefinitionHandle left, System.Reflection.Metadata.MethodDefinitionHandle right) { throw null; } public System.Reflection.Metadata.MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.MethodDefinitionHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.MethodDefinitionHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1808,17 +1808,17 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodImplementation { + private readonly object _dummy; public System.Reflection.Metadata.EntityHandle MethodBody { get { throw null; } } public System.Reflection.Metadata.EntityHandle MethodDeclaration { get { throw null; } } public System.Reflection.Metadata.TypeDefinitionHandle Type { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodImplementationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.MethodImplementationHandle other) { throw null; } @@ -1830,16 +1830,16 @@ public readonly partial struct MethodImplementation public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.MethodImplementationHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.MethodImplementationHandle left, System.Reflection.Metadata.MethodImplementationHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodImplementationHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.MethodImplementationHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.MethodImplementationHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -1847,34 +1847,34 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodImport { + private readonly int _dummy; public System.Reflection.MethodImportAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.ModuleReferenceHandle Module { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodSignature { - public MethodSignature(System.Reflection.Metadata.SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System.Collections.Immutable.ImmutableArray parameterTypes) { throw null;} + private readonly TType _ReturnType_k__BackingField; + public MethodSignature(System.Reflection.Metadata.SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, System.Collections.Immutable.ImmutableArray parameterTypes) { throw null; } public int GenericParameterCount { get { throw null; } } public System.Reflection.Metadata.SignatureHeader Header { get { throw null; } } public System.Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } public int RequiredParameterCount { get { throw null; } } public TType ReturnType { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodSpecification { + private readonly object _dummy; public System.Reflection.Metadata.EntityHandle Method { get { throw null; } } public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } public System.Collections.Immutable.ImmutableArray DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodSpecificationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.MethodSpecificationHandle other) { throw null; } @@ -1886,9 +1886,9 @@ public readonly partial struct MethodSpecification public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.MethodSpecificationHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.MethodSpecificationHandle left, System.Reflection.Metadata.MethodSpecificationHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ModuleDefinition { + private readonly object _dummy; public System.Reflection.Metadata.GuidHandle BaseGenerationId { get { throw null; } } public int Generation { get { throw null; } } public System.Reflection.Metadata.GuidHandle GenerationId { get { throw null; } } @@ -1896,9 +1896,9 @@ public readonly partial struct ModuleDefinition public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ModuleDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ModuleDefinitionHandle other) { throw null; } @@ -1910,15 +1910,15 @@ public readonly partial struct ModuleDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ModuleDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ModuleDefinitionHandle left, System.Reflection.Metadata.ModuleDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ModuleReference { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ModuleReferenceHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ModuleReferenceHandle other) { throw null; } @@ -1930,18 +1930,18 @@ public readonly partial struct ModuleReference public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ModuleReferenceHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ModuleReferenceHandle left, System.Reflection.Metadata.ModuleReferenceHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct NamespaceDefinition { + private object _dummy; public System.Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } public System.Reflection.Metadata.NamespaceDefinitionHandle Parent { get { throw null; } } public System.Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct NamespaceDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.NamespaceDefinitionHandle other) { throw null; } @@ -1951,9 +1951,9 @@ public partial struct NamespaceDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.NamespaceDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.NamespaceDefinitionHandle left, System.Reflection.Metadata.NamespaceDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct Parameter { + private readonly object _dummy; public System.Reflection.ParameterAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public int SequenceNumber { get { throw null; } } @@ -1961,9 +1961,9 @@ public readonly partial struct Parameter public System.Reflection.Metadata.ConstantHandle GetDefaultValue() { throw null; } public System.Reflection.Metadata.BlobHandle GetMarshallingDescriptor() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ParameterHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.ParameterHandle other) { throw null; } @@ -1975,16 +1975,16 @@ public readonly partial struct Parameter public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.ParameterHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.ParameterHandle left, System.Reflection.Metadata.ParameterHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ParameterHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.ParameterHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.ParameterHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -2037,16 +2037,16 @@ public enum PrimitiveTypeCode : byte UIntPtr = (byte)25, Void = (byte)1, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PropertyAccessors { + private readonly int _dummy; public System.Reflection.Metadata.MethodDefinitionHandle Getter { get { throw null; } } public System.Collections.Immutable.ImmutableArray Others { get { throw null; } } public System.Reflection.Metadata.MethodDefinitionHandle Setter { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PropertyDefinition { + private readonly object _dummy; public System.Reflection.PropertyAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } @@ -2055,9 +2055,9 @@ public readonly partial struct PropertyDefinition public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } public System.Reflection.Metadata.ConstantHandle GetDefaultValue() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PropertyDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.PropertyDefinitionHandle other) { throw null; } @@ -2069,16 +2069,16 @@ public readonly partial struct PropertyDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.PropertyDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.PropertyDefinitionHandle left, System.Reflection.Metadata.PropertyDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PropertyDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly object _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.PropertyDefinitionHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private object _dummy; public System.Reflection.Metadata.PropertyDefinitionHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -2086,16 +2086,16 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ReservedBlob where THandle : struct { + private readonly THandle _Handle_k__BackingField; public System.Reflection.Metadata.Blob Content { get { throw null; } } public THandle Handle { get { throw null; } } public System.Reflection.Metadata.BlobWriter CreateWriter() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SequencePoint : System.IEquatable { + private readonly int _dummy; public const int HiddenLine = 16707566; public System.Reflection.Metadata.DocumentHandle Document { get { throw null; } } public int EndColumn { get { throw null; } } @@ -2108,15 +2108,15 @@ void System.IDisposable.Dispose() { } public bool Equals(System.Reflection.Metadata.SequencePoint other) { throw null; } public override int GetHashCode() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SequencePointCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { + private readonly int _dummy; public System.Reflection.Metadata.SequencePointCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.SequencePoint Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -2162,12 +2162,12 @@ public enum SignatureCallingConvention : byte ThisCall = (byte)3, VarArgs = (byte)5, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SignatureHeader : System.IEquatable { + private int _dummy; public const byte CallingConventionOrKindMask = (byte)15; - public SignatureHeader(byte rawValue) { throw null;} - public SignatureHeader(System.Reflection.Metadata.SignatureKind kind, System.Reflection.Metadata.SignatureCallingConvention convention, System.Reflection.Metadata.SignatureAttributes attributes) { throw null;} + public SignatureHeader(byte rawValue) { throw null; } + public SignatureHeader(System.Reflection.Metadata.SignatureKind kind, System.Reflection.Metadata.SignatureCallingConvention convention, System.Reflection.Metadata.SignatureAttributes attributes) { throw null; } public System.Reflection.Metadata.SignatureAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.SignatureCallingConvention CallingConvention { get { throw null; } } public bool HasExplicitThis { get { throw null; } } @@ -2231,18 +2231,18 @@ public enum SignatureTypeKind : byte Unknown = (byte)0, ValueType = (byte)17, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandaloneSignature { + private readonly object _dummy; public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } public System.Collections.Immutable.ImmutableArray DecodeLocalSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } public System.Reflection.Metadata.MethodSignature DecodeMethodSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } public System.Reflection.Metadata.StandaloneSignatureKind GetKind() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StandaloneSignatureHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.StandaloneSignatureHandle other) { throw null; } @@ -2259,9 +2259,9 @@ public enum StandaloneSignatureKind LocalVariables = 1, Method = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StringHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.StringHandle other) { throw null; } @@ -2271,9 +2271,9 @@ public enum StandaloneSignatureKind public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.StringHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.StringHandle left, System.Reflection.Metadata.StringHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeDefinition { + private readonly object _dummy; public System.Reflection.TypeAttributes Attributes { get { throw null; } } public System.Reflection.Metadata.EntityHandle BaseType { get { throw null; } } public System.Reflection.Metadata.StringHandle Name { get { throw null; } } @@ -2292,9 +2292,9 @@ public readonly partial struct TypeDefinition public System.Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } public System.Reflection.Metadata.PropertyDefinitionHandleCollection GetProperties() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeDefinitionHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.TypeDefinitionHandle other) { throw null; } @@ -2306,16 +2306,16 @@ public readonly partial struct TypeDefinition public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.TypeDefinitionHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.TypeDefinitionHandle left, System.Reflection.Metadata.TypeDefinitionHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeDefinitionHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.TypeDefinitionHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.TypeDefinitionHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -2323,24 +2323,24 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeLayout { - public TypeLayout(int size, int packingSize) { throw null;} + private readonly int _dummy; + public TypeLayout(int size, int packingSize) { throw null; } public bool IsDefault { get { throw null; } } public int PackingSize { get { throw null; } } public int Size { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeReference { + private readonly object _dummy; public System.Reflection.Metadata.StringHandle Name { get { throw null; } } public System.Reflection.Metadata.StringHandle Namespace { get { throw null; } } public System.Reflection.Metadata.EntityHandle ResolutionScope { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeReferenceHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.TypeReferenceHandle other) { throw null; } @@ -2352,16 +2352,16 @@ public readonly partial struct TypeReference public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.TypeReferenceHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.TypeReferenceHandle left, System.Reflection.Metadata.TypeReferenceHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeReferenceHandleCollection : System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.IEnumerable { + private readonly int _dummy; public int Count { get { throw null; } } public System.Reflection.Metadata.TypeReferenceHandleCollection.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { + private int _dummy; public System.Reflection.Metadata.TypeReferenceHandle Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } @@ -2369,16 +2369,16 @@ void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeSpecification { + private readonly object _dummy; public System.Reflection.Metadata.BlobHandle Signature { get { throw null; } } public TType DecodeSignature(System.Reflection.Metadata.ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } public System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TypeSpecificationHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.TypeSpecificationHandle other) { throw null; } @@ -2390,9 +2390,9 @@ public readonly partial struct TypeSpecification public static implicit operator System.Reflection.Metadata.Handle (System.Reflection.Metadata.TypeSpecificationHandle handle) { throw null; } public static bool operator !=(System.Reflection.Metadata.TypeSpecificationHandle left, System.Reflection.Metadata.TypeSpecificationHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct UserStringHandle : System.IEquatable { + private readonly int _dummy; public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } public bool Equals(System.Reflection.Metadata.UserStringHandle other) { throw null; } @@ -2405,20 +2405,20 @@ public readonly partial struct TypeSpecification } namespace System.Reflection.Metadata.Ecma335 { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ArrayShapeEncoder { - public ArrayShapeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public ArrayShapeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Shape(int rank, System.Collections.Immutable.ImmutableArray sizes, System.Collections.Immutable.ImmutableArray lowerBounds) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct BlobEncoder { - public BlobEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public BlobEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void CustomAttributeSignature(System.Action fixedArguments, System.Action namedArguments) { } - public void CustomAttributeSignature(out System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder fixedArguments, out System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder namedArguments) { fixedArguments = default(System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder); namedArguments = default(System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder); } + public void CustomAttributeSignature(out System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder fixedArguments, out System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder FieldSignature() { throw null; } public System.Reflection.Metadata.Ecma335.LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } public System.Reflection.Metadata.Ecma335.MethodSignatureEncoder MethodSignature(System.Reflection.Metadata.SignatureCallingConvention convention=(System.Reflection.Metadata.SignatureCallingConvention)(0), int genericParameterCount=0, bool isInstanceMethod=false) { throw null; } @@ -2454,18 +2454,18 @@ public void AddFaultRegion(System.Reflection.Metadata.Ecma335.LabelHandle trySta public void AddFilterRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd, System.Reflection.Metadata.Ecma335.LabelHandle filterStart) { } public void AddFinallyRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeArrayTypeEncoder { - public CustomAttributeArrayTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public CustomAttributeArrayTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder ElementType() { throw null; } public void ObjectArray() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeElementTypeEncoder { - public CustomAttributeElementTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public CustomAttributeElementTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Boolean() { } public void Byte() { } @@ -2484,24 +2484,24 @@ public void UInt16() { } public void UInt32() { } public void UInt64() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomAttributeNamedArgumentsEncoder { - public CustomAttributeNamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public CustomAttributeNamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder Count(int count) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CustomModifiersEncoder { - public CustomModifiersEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public CustomModifiersEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder AddModifier(System.Reflection.Metadata.EntityHandle type, bool isOptional) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EditAndContinueLogEntry : System.IEquatable { - public EditAndContinueLogEntry(System.Reflection.Metadata.EntityHandle handle, System.Reflection.Metadata.Ecma335.EditAndContinueOperation operation) { throw null;} + private readonly int _dummy; + public EditAndContinueLogEntry(System.Reflection.Metadata.EntityHandle handle, System.Reflection.Metadata.Ecma335.EditAndContinueOperation operation) { throw null; } public System.Reflection.Metadata.EntityHandle Handle { get { throw null; } } public System.Reflection.Metadata.Ecma335.EditAndContinueOperation Operation { get { throw null; } } public override bool Equals(object obj) { throw null; } @@ -2517,9 +2517,9 @@ public enum EditAndContinueOperation AddProperty = 4, Default = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExceptionRegionEncoder { + private readonly object _dummy; public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public bool HasSmallFormat { get { throw null; } } public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder Add(System.Reflection.Metadata.ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, System.Reflection.Metadata.EntityHandle catchType=default(System.Reflection.Metadata.EntityHandle), int filterOffset=0) { throw null; } @@ -2534,10 +2534,10 @@ public static partial class ExportedTypeExtensions { public static int GetTypeDefinitionId(this System.Reflection.Metadata.ExportedType exportedType) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct FixedArgumentsEncoder { - public FixedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public FixedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.LiteralEncoder AddArgument() { throw null; } } @@ -2547,10 +2547,10 @@ public enum FunctionPointerAttributes HasThis = 32, None = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GenericTypeArgumentsEncoder { - public GenericTypeArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public GenericTypeArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder AddArgument() { throw null; } } @@ -2561,10 +2561,10 @@ public enum HeapIndex String = 1, UserString = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct InstructionEncoder { - public InstructionEncoder(System.Reflection.Metadata.BlobBuilder codeBuilder, System.Reflection.Metadata.Ecma335.ControlFlowBuilder controlFlowBuilder=null) { throw null;} + private readonly object _dummy; + public InstructionEncoder(System.Reflection.Metadata.BlobBuilder codeBuilder, System.Reflection.Metadata.Ecma335.ControlFlowBuilder controlFlowBuilder=null) { throw null; } public System.Reflection.Metadata.BlobBuilder CodeBuilder { get { throw null; } } public System.Reflection.Metadata.Ecma335.ControlFlowBuilder ControlFlowBuilder { get { throw null; } } public int Offset { get { throw null; } } @@ -2591,9 +2591,9 @@ public void StoreLocal(int slotIndex) { } public void Token(int token) { } public void Token(System.Reflection.Metadata.EntityHandle handle) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LabelHandle : System.IEquatable { + private readonly int _dummy; public int Id { get { throw null; } } public bool IsNil { get { throw null; } } public override bool Equals(object obj) { throw null; } @@ -2602,36 +2602,36 @@ public void Token(System.Reflection.Metadata.EntityHandle handle) { } public static bool operator ==(System.Reflection.Metadata.Ecma335.LabelHandle left, System.Reflection.Metadata.Ecma335.LabelHandle right) { throw null; } public static bool operator !=(System.Reflection.Metadata.Ecma335.LabelHandle left, System.Reflection.Metadata.Ecma335.LabelHandle right) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LiteralEncoder { - public LiteralEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public LiteralEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.ScalarEncoder Scalar() { throw null; } public void TaggedScalar(System.Action type, System.Action scalar) { } - public void TaggedScalar(out System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder type, out System.Reflection.Metadata.Ecma335.ScalarEncoder scalar) { type = default(System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder); scalar = default(System.Reflection.Metadata.Ecma335.ScalarEncoder); } + public void TaggedScalar(out System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder type, out System.Reflection.Metadata.Ecma335.ScalarEncoder scalar) { throw null; } public void TaggedVector(System.Action arrayType, System.Action vector) { } - public void TaggedVector(out System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder arrayType, out System.Reflection.Metadata.Ecma335.VectorEncoder vector) { arrayType = default(System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder); vector = default(System.Reflection.Metadata.Ecma335.VectorEncoder); } + public void TaggedVector(out System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder arrayType, out System.Reflection.Metadata.Ecma335.VectorEncoder vector) { throw null; } public System.Reflection.Metadata.Ecma335.VectorEncoder Vector() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LiteralsEncoder { - public LiteralsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public LiteralsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.LiteralEncoder AddLiteral() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalVariablesEncoder { - public LocalVariablesEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public LocalVariablesEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder AddVariable() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct LocalVariableTypeEncoder { - public LocalVariableTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public LocalVariableTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; } public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder Type(bool isByRef=false, bool isPinned=false) { throw null; } @@ -2641,7 +2641,7 @@ public sealed partial class MetadataAggregator { public MetadataAggregator(System.Collections.Generic.IReadOnlyList baseTableRowCounts, System.Collections.Generic.IReadOnlyList baseHeapSizes, System.Collections.Generic.IReadOnlyList deltaReaders) { } public MetadataAggregator(System.Reflection.Metadata.MetadataReader baseReader, System.Collections.Generic.IReadOnlyList deltaReaders) { } - public System.Reflection.Metadata.Handle GetGenerationHandle(System.Reflection.Metadata.Handle handle, out int generation) { generation = default(int); throw null; } + public System.Reflection.Metadata.Handle GetGenerationHandle(System.Reflection.Metadata.Handle handle, out int generation) { throw null; } } public sealed partial class MetadataBuilder { @@ -2790,8 +2790,8 @@ public static partial class MetadataTokens public static System.Reflection.Metadata.PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } public static System.Reflection.Metadata.StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } public static System.Reflection.Metadata.StringHandle StringHandle(int offset) { throw null; } - public static bool TryGetHeapIndex(System.Reflection.Metadata.HandleKind type, out System.Reflection.Metadata.Ecma335.HeapIndex index) { index = default(System.Reflection.Metadata.Ecma335.HeapIndex); throw null; } - public static bool TryGetTableIndex(System.Reflection.Metadata.HandleKind type, out System.Reflection.Metadata.Ecma335.TableIndex index) { index = default(System.Reflection.Metadata.Ecma335.TableIndex); throw null; } + public static bool TryGetHeapIndex(System.Reflection.Metadata.HandleKind type, out System.Reflection.Metadata.Ecma335.HeapIndex index) { throw null; } + public static bool TryGetTableIndex(System.Reflection.Metadata.HandleKind type, out System.Reflection.Metadata.Ecma335.TableIndex index) { throw null; } public static System.Reflection.Metadata.TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } public static System.Reflection.Metadata.TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } public static System.Reflection.Metadata.TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } @@ -2803,76 +2803,76 @@ public enum MethodBodyAttributes InitLocals = 1, None = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodBodyStreamEncoder { - public MethodBodyStreamEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public MethodBodyStreamEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.MethodBody AddMethodBody(int codeSize, int maxStack=8, int exceptionRegionCount=0, bool hasSmallExceptionRegions=true, System.Reflection.Metadata.StandaloneSignatureHandle localVariablesSignature=default(System.Reflection.Metadata.StandaloneSignatureHandle), System.Reflection.Metadata.Ecma335.MethodBodyAttributes attributes=(System.Reflection.Metadata.Ecma335.MethodBodyAttributes)(1)) { throw null; } public int AddMethodBody(System.Reflection.Metadata.Ecma335.InstructionEncoder instructionEncoder, int maxStack=8, System.Reflection.Metadata.StandaloneSignatureHandle localVariablesSignature=default(System.Reflection.Metadata.StandaloneSignatureHandle), System.Reflection.Metadata.Ecma335.MethodBodyAttributes attributes=(System.Reflection.Metadata.Ecma335.MethodBodyAttributes)(1)) { throw null; } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodBody { + private readonly object _dummy; public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder ExceptionRegions { get { throw null; } } public System.Reflection.Metadata.Blob Instructions { get { throw null; } } public int Offset { get { throw null; } } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct MethodSignatureEncoder { - public MethodSignatureEncoder(System.Reflection.Metadata.BlobBuilder builder, bool hasVarArgs) { throw null;} + private readonly object _dummy; + public MethodSignatureEncoder(System.Reflection.Metadata.BlobBuilder builder, bool hasVarArgs) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public bool HasVarArgs { get { throw null; } } public void Parameters(int parameterCount, System.Action returnType, System.Action parameters) { } - public void Parameters(int parameterCount, out System.Reflection.Metadata.Ecma335.ReturnTypeEncoder returnType, out System.Reflection.Metadata.Ecma335.ParametersEncoder parameters) { returnType = default(System.Reflection.Metadata.Ecma335.ReturnTypeEncoder); parameters = default(System.Reflection.Metadata.Ecma335.ParametersEncoder); } + public void Parameters(int parameterCount, out System.Reflection.Metadata.Ecma335.ReturnTypeEncoder returnType, out System.Reflection.Metadata.Ecma335.ParametersEncoder parameters) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct NamedArgumentsEncoder { - public NamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public NamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void AddArgument(bool isField, System.Action type, System.Action name, System.Action literal) { } - public void AddArgument(bool isField, out System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder type, out System.Reflection.Metadata.Ecma335.NameEncoder name, out System.Reflection.Metadata.Ecma335.LiteralEncoder literal) { type = default(System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder); name = default(System.Reflection.Metadata.Ecma335.NameEncoder); literal = default(System.Reflection.Metadata.Ecma335.LiteralEncoder); } + public void AddArgument(bool isField, out System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder type, out System.Reflection.Metadata.Ecma335.NameEncoder name, out System.Reflection.Metadata.Ecma335.LiteralEncoder literal) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct NamedArgumentTypeEncoder { - public NamedArgumentTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public NamedArgumentTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Object() { } public System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder ScalarType() { throw null; } public System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder SZArray() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct NameEncoder { - public NameEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public NameEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Name(string name) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ParametersEncoder { - public ParametersEncoder(System.Reflection.Metadata.BlobBuilder builder, bool hasVarArgs=false) { throw null;} + private readonly object _dummy; + public ParametersEncoder(System.Reflection.Metadata.BlobBuilder builder, bool hasVarArgs=false) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public bool HasVarArgs { get { throw null; } } public System.Reflection.Metadata.Ecma335.ParameterTypeEncoder AddParameter() { throw null; } public System.Reflection.Metadata.Ecma335.ParametersEncoder StartVarArgs() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ParameterTypeEncoder { - public ParameterTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public ParameterTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; } public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder Type(bool isByRef=false) { throw null; } public void TypedReference() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PermissionSetEncoder { - public PermissionSetEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public PermissionSetEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission(string typeName, System.Collections.Immutable.ImmutableArray encodedArguments) { throw null; } public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission(string typeName, System.Reflection.Metadata.BlobBuilder encodedArguments) { throw null; } @@ -2885,42 +2885,42 @@ public PortablePdbBuilder(System.Reflection.Metadata.Ecma335.MetadataBuilder tab public string MetadataVersion { get { throw null; } } public System.Reflection.Metadata.BlobContentId Serialize(System.Reflection.Metadata.BlobBuilder builder) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ReturnTypeEncoder { - public ReturnTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public ReturnTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; } public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder Type(bool isByRef=false) { throw null; } public void TypedReference() { } public void Void() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ScalarEncoder { - public ScalarEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public ScalarEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Constant(object value) { } public void NullArray() { } public void SystemType(string serializedTypeName) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SignatureDecoder { - public SignatureDecoder(System.Reflection.Metadata.ISignatureTypeProvider provider, System.Reflection.Metadata.MetadataReader metadataReader, TGenericContext genericContext) { throw null;} + private readonly TGenericContext _genericContext; + public SignatureDecoder(System.Reflection.Metadata.ISignatureTypeProvider provider, System.Reflection.Metadata.MetadataReader metadataReader, TGenericContext genericContext) { throw null; } public TType DecodeFieldSignature(ref System.Reflection.Metadata.BlobReader blobReader) { throw null; } public System.Collections.Immutable.ImmutableArray DecodeLocalSignature(ref System.Reflection.Metadata.BlobReader blobReader) { throw null; } public System.Reflection.Metadata.MethodSignature DecodeMethodSignature(ref System.Reflection.Metadata.BlobReader blobReader) { throw null; } public System.Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref System.Reflection.Metadata.BlobReader blobReader) { throw null; } public TType DecodeType(ref System.Reflection.Metadata.BlobReader blobReader, bool allowTypeSpecifications=false) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SignatureTypeEncoder { - public SignatureTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public SignatureTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public void Array(System.Action elementType, System.Action arrayShape) { } - public void Array(out System.Reflection.Metadata.Ecma335.SignatureTypeEncoder elementType, out System.Reflection.Metadata.Ecma335.ArrayShapeEncoder arrayShape) { elementType = default(System.Reflection.Metadata.Ecma335.SignatureTypeEncoder); arrayShape = default(System.Reflection.Metadata.Ecma335.ArrayShapeEncoder); } + public void Array(out System.Reflection.Metadata.Ecma335.SignatureTypeEncoder elementType, out System.Reflection.Metadata.Ecma335.ArrayShapeEncoder arrayShape) { throw null; } public void Boolean() { } public void Byte() { } public void Char() { } @@ -3004,10 +3004,10 @@ public enum TableIndex : byte TypeRef = (byte)1, TypeSpec = (byte)27, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct VectorEncoder { - public VectorEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null;} + private readonly object _dummy; + public VectorEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; } public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } } public System.Reflection.Metadata.Ecma335.LiteralsEncoder Count(int count) { throw null; } } @@ -3032,9 +3032,9 @@ public enum Characteristics : ushort System = (ushort)4096, UpSystemOnly = (ushort)16384, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CodeViewDebugDirectoryData { + private readonly object _dummy; public int Age { get { throw null; } } public System.Guid Guid { get { throw null; } } public string Path { get { throw null; } } @@ -3083,10 +3083,10 @@ public void AddCodeViewEntry(string pdbPath, System.Reflection.Metadata.BlobCont public void AddEmbeddedPortablePdbEntry(System.Reflection.Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } public void AddReproducibleEntry() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DebugDirectoryEntry { - public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, System.Reflection.PortableExecutable.DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { throw null;} + private readonly int _dummy; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, System.Reflection.PortableExecutable.DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { throw null; } public int DataPointer { get { throw null; } } public int DataRelativeVirtualAddress { get { throw null; } } public int DataSize { get { throw null; } } @@ -3104,12 +3104,11 @@ public enum DebugDirectoryEntryType Reproducible = 16, Unknown = 0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DirectoryEntry { public readonly int RelativeVirtualAddress; public readonly int Size; - public DirectoryEntry(int relativeVirtualAddress, int size) { throw null;} + public DirectoryEntry(int relativeVirtualAddress, int size) { throw null; } } [System.FlagsAttribute] public enum DllCharacteristics : ushort @@ -3176,12 +3175,11 @@ protected PEBuilder(System.Reflection.PortableExecutable.PEHeaderBuilder header, protected System.Collections.Immutable.ImmutableArray GetSections() { throw null; } public System.Reflection.Metadata.BlobContentId Serialize(System.Reflection.Metadata.BlobBuilder builder) { throw null; } protected abstract System.Reflection.Metadata.BlobBuilder SerializeSection(string name, System.Reflection.PortableExecutable.SectionLocation location); - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] protected readonly partial struct Section { public readonly System.Reflection.PortableExecutable.SectionCharacteristics Characteristics; public readonly string Name; - public Section(string name, System.Reflection.PortableExecutable.SectionCharacteristics characteristics) { throw null;} + public Section(string name, System.Reflection.PortableExecutable.SectionCharacteristics characteristics) { throw null; } } } public sealed partial class PEDirectoriesBuilder @@ -3294,16 +3292,16 @@ public PEHeaders(System.IO.Stream peStream, int size, bool isLoadedImage) { } public int PEHeaderStartOffset { get { throw null; } } public System.Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } - public bool TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset) { offset = default(int); throw null; } + public bool TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset) { throw null; } } public enum PEMagic : ushort { PE32 = (ushort)267, PE32Plus = (ushort)523, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PEMemoryBlock { + private readonly object _dummy; public int Length { get { throw null; } } public unsafe byte* Pointer { get { throw null; } } public System.Collections.Immutable.ImmutableArray GetContent() { throw null; } @@ -3331,7 +3329,7 @@ public void Dispose() { } public System.Reflection.PortableExecutable.CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(System.Reflection.PortableExecutable.DebugDirectoryEntry entry) { throw null; } public System.Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } public System.Reflection.Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(System.Reflection.PortableExecutable.DebugDirectoryEntry entry) { throw null; } - public bool TryOpenAssociatedPortablePdb(string peImagePath, System.Func pdbFileStreamProvider, out System.Reflection.Metadata.MetadataReaderProvider pdbReaderProvider, out string pdbPath) { pdbReaderProvider = default(System.Reflection.Metadata.MetadataReaderProvider); pdbPath = default(string); throw null; } + public bool TryOpenAssociatedPortablePdb(string peImagePath, System.Func pdbFileStreamProvider, out System.Reflection.Metadata.MetadataReaderProvider pdbReaderProvider, out string pdbPath) { throw null; } } [System.FlagsAttribute] public enum PEStreamOptions @@ -3397,9 +3395,9 @@ public enum SectionCharacteristics : uint TypeOver = (uint)1024, TypeReg = (uint)0, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SectionHeader { + private readonly object _dummy; public string Name { get { throw null; } } public ushort NumberOfLineNumbers { get { throw null; } } public ushort NumberOfRelocations { get { throw null; } } @@ -3411,10 +3409,10 @@ public readonly partial struct SectionHeader public int VirtualAddress { get { throw null; } } public int VirtualSize { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SectionLocation { - public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { throw null;} + private readonly int _dummy; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { throw null; } public int PointerToRawData { get { throw null; } } public int RelativeVirtualAddress { get { throw null; } } } diff --git a/src/System.Reflection.Primitives/ref/System.Reflection.Primitives.cs b/src/System.Reflection.Primitives/ref/System.Reflection.Primitives.cs index 733a927a4533..8133f9b7ba15 100644 --- a/src/System.Reflection.Primitives/ref/System.Reflection.Primitives.cs +++ b/src/System.Reflection.Primitives/ref/System.Reflection.Primitives.cs @@ -31,9 +31,9 @@ public enum FlowControl Return = 7, Throw = 8, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct OpCode { + private object _dummy; public System.Reflection.Emit.FlowControl FlowControl { get { throw null; } } public string Name { get { throw null; } } public System.Reflection.Emit.OpCodeType OpCodeType { get { throw null; } } diff --git a/src/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs b/src/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs index 7b89908c6d22..4a64dfdd5f36 100644 --- a/src/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs +++ b/src/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs @@ -5,12 +5,18 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Runtime.InteropServices { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public enum Architecture + { + Arm = 2, + Arm64 = 3, + X64 = 1, + X86 = 0, + } public readonly partial struct OSPlatform : System.IEquatable { + private readonly object _dummy; public static System.Runtime.InteropServices.OSPlatform Linux { get { throw null; } } public static System.Runtime.InteropServices.OSPlatform OSX { get { throw null; } } public static System.Runtime.InteropServices.OSPlatform Windows { get { throw null; } } @@ -22,21 +28,12 @@ namespace System.Runtime.InteropServices public static bool operator !=(System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right) { throw null; } public override string ToString() { throw null; } } - - public enum Architecture - { - X86, - X64, - Arm, - Arm64 - } - public static partial class RuntimeInformation { - public static Architecture ProcessArchitecture { get { throw null; } } - public static Architecture OSArchitecture { get { throw null; } } - public static string OSDescription { get { throw null; } } public static string FrameworkDescription { get { throw null; } } + public static System.Runtime.InteropServices.Architecture OSArchitecture { get { throw null; } } + public static string OSDescription { get { throw null; } } + public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get { throw null; } } public static bool IsOSPlatform(System.Runtime.InteropServices.OSPlatform osPlatform) { throw null; } } } diff --git a/src/System.Runtime.InteropServices.WindowsRuntime/ref/System.Runtime.InteropServices.WindowsRuntime.cs b/src/System.Runtime.InteropServices.WindowsRuntime/ref/System.Runtime.InteropServices.WindowsRuntime.cs index 1722425a2568..1ec098760318 100644 --- a/src/System.Runtime.InteropServices.WindowsRuntime/ref/System.Runtime.InteropServices.WindowsRuntime.cs +++ b/src/System.Runtime.InteropServices.WindowsRuntime/ref/System.Runtime.InteropServices.WindowsRuntime.cs @@ -14,9 +14,9 @@ public sealed partial class DefaultInterfaceAttribute : global::System.Attribute public DefaultInterfaceAttribute(global::System.Type defaultInterface) { } public global::System.Type DefaultInterface { get { throw null; } } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct EventRegistrationToken { + private int _dummy; public override bool Equals(object obj) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken left, global::System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken right) { throw null; } diff --git a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs index 44ee0ad9b021..bf31dbc987a6 100644 --- a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs +++ b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs @@ -139,9 +139,9 @@ public sealed partial class AutomationProxyAttribute : System.Attribute public AutomationProxyAttribute(bool val) { } public bool Value { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ArrayWithOffset { + private object _dummy; public ArrayWithOffset(object array, int offset) { throw null; } public override bool Equals(object obj) { throw null; } public bool Equals(System.Runtime.InteropServices.ArrayWithOffset obj) { throw null; } @@ -415,6 +415,7 @@ public void Remove() { } } public struct HandleRef { + private object _dummy; public HandleRef(object wrapper, System.IntPtr handle) : this() { } public System.IntPtr Handle { get; } public object Wrapper { get; } diff --git a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj index e73cea11e86e..048a810f26d0 100644 --- a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj +++ b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.csproj @@ -4,7 +4,7 @@ - 618 + $(NoWarn);618 true {B17014F1-D902-417F-89B0-271204695831} diff --git a/src/System.Runtime.Numerics/ref/System.Runtime.Numerics.cs b/src/System.Runtime.Numerics/ref/System.Runtime.Numerics.cs index dcb8ea02ee07..c24590a22d14 100644 --- a/src/System.Runtime.Numerics/ref/System.Runtime.Numerics.cs +++ b/src/System.Runtime.Numerics/ref/System.Runtime.Numerics.cs @@ -5,19 +5,18 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Numerics { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct BigInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable { + private readonly object _dummy; [System.CLSCompliantAttribute(false)] public BigInteger(byte[] value) { throw null; } - public BigInteger(System.ReadOnlySpan value, bool isUnsigned=false, bool isBigEndian=false) { throw null; } public BigInteger(decimal value) { throw null; } public BigInteger(double value) { throw null; } public BigInteger(int value) { throw null; } public BigInteger(long value) { throw null; } + public BigInteger(System.ReadOnlySpan value, bool isUnsigned=false, bool isBigEndian=false) { throw null; } public BigInteger(float value) { throw null; } [System.CLSCompliantAttribute(false)] public BigInteger(uint value) { throw null; } @@ -35,8 +34,8 @@ namespace System.Numerics public static System.Numerics.BigInteger Add(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } public static int Compare(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } public int CompareTo(long other) { throw null; } - public int CompareTo(object obj) { throw null; } public int CompareTo(System.Numerics.BigInteger other) { throw null; } + public int CompareTo(object obj) { throw null; } [System.CLSCompliantAttribute(false)] public int CompareTo(ulong other) { throw null; } public static System.Numerics.BigInteger Divide(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) { throw null; } @@ -46,8 +45,8 @@ namespace System.Numerics public override bool Equals(object obj) { throw null; } [System.CLSCompliantAttribute(false)] public bool Equals(ulong other) { throw null; } - public override int GetHashCode() { throw null; } public int GetByteCount(bool isUnsigned=false) { throw null; } + public override int GetHashCode() { throw null; } public static System.Numerics.BigInteger GreatestCommonDivisor(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } public static double Log(System.Numerics.BigInteger value) { throw null; } public static double Log(System.Numerics.BigInteger value, double baseValue) { throw null; } @@ -70,8 +69,8 @@ namespace System.Numerics [System.CLSCompliantAttribute(false)] public static bool operator ==(ulong left, System.Numerics.BigInteger right) { throw null; } public static System.Numerics.BigInteger operator ^(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } - public static explicit operator System.Numerics.BigInteger(decimal value) { throw null; } - public static explicit operator System.Numerics.BigInteger(double value) { throw null; } + public static explicit operator System.Numerics.BigInteger (decimal value) { throw null; } + public static explicit operator System.Numerics.BigInteger (double value) { throw null; } public static explicit operator byte (System.Numerics.BigInteger value) { throw null; } public static explicit operator decimal (System.Numerics.BigInteger value) { throw null; } public static explicit operator double (System.Numerics.BigInteger value) { throw null; } @@ -87,7 +86,7 @@ namespace System.Numerics public static explicit operator uint (System.Numerics.BigInteger value) { throw null; } [System.CLSCompliantAttribute(false)] public static explicit operator ulong (System.Numerics.BigInteger value) { throw null; } - public static explicit operator System.Numerics.BigInteger(float value) { throw null; } + public static explicit operator System.Numerics.BigInteger (float value) { throw null; } public static bool operator >(long left, System.Numerics.BigInteger right) { throw null; } public static bool operator >(System.Numerics.BigInteger left, long right) { throw null; } public static bool operator >(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } @@ -102,18 +101,18 @@ namespace System.Numerics public static bool operator >=(System.Numerics.BigInteger left, ulong right) { throw null; } [System.CLSCompliantAttribute(false)] public static bool operator >=(ulong left, System.Numerics.BigInteger right) { throw null; } - public static implicit operator System.Numerics.BigInteger(byte value) { throw null; } - public static implicit operator System.Numerics.BigInteger(short value) { throw null; } - public static implicit operator System.Numerics.BigInteger(int value) { throw null; } - public static implicit operator System.Numerics.BigInteger(long value) { throw null; } + public static implicit operator System.Numerics.BigInteger (byte value) { throw null; } + public static implicit operator System.Numerics.BigInteger (short value) { throw null; } + public static implicit operator System.Numerics.BigInteger (int value) { throw null; } + public static implicit operator System.Numerics.BigInteger (long value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BigInteger(sbyte value) { throw null; } + public static implicit operator System.Numerics.BigInteger (sbyte value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BigInteger(ushort value) { throw null; } + public static implicit operator System.Numerics.BigInteger (ushort value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BigInteger(uint value) { throw null; } + public static implicit operator System.Numerics.BigInteger (uint value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BigInteger(ulong value) { throw null; } + public static implicit operator System.Numerics.BigInteger (ulong value) { throw null; } public static System.Numerics.BigInteger operator ++(System.Numerics.BigInteger value) { throw null; } public static bool operator !=(long left, System.Numerics.BigInteger right) { throw null; } public static bool operator !=(System.Numerics.BigInteger left, long right) { throw null; } @@ -144,11 +143,11 @@ namespace System.Numerics public static System.Numerics.BigInteger operator -(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } public static System.Numerics.BigInteger operator -(System.Numerics.BigInteger value) { throw null; } public static System.Numerics.BigInteger operator +(System.Numerics.BigInteger value) { throw null; } + public static System.Numerics.BigInteger Parse(System.ReadOnlySpan value, System.Globalization.NumberStyles style=(System.Globalization.NumberStyles)(7), System.IFormatProvider provider=null) { throw null; } public static System.Numerics.BigInteger Parse(string value) { throw null; } public static System.Numerics.BigInteger Parse(string value, System.Globalization.NumberStyles style) { throw null; } public static System.Numerics.BigInteger Parse(string value, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } public static System.Numerics.BigInteger Parse(string value, System.IFormatProvider provider) { throw null; } - public static System.Numerics.BigInteger Parse(System.ReadOnlySpan value, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } public static System.Numerics.BigInteger Pow(System.Numerics.BigInteger value, int exponent) { throw null; } public static System.Numerics.BigInteger Remainder(System.Numerics.BigInteger dividend, System.Numerics.BigInteger divisor) { throw null; } public static System.Numerics.BigInteger Subtract(System.Numerics.BigInteger left, System.Numerics.BigInteger right) { throw null; } @@ -158,16 +157,16 @@ namespace System.Numerics public string ToString(System.IFormatProvider provider) { throw null; } public string ToString(string format) { throw null; } public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(Span destination, out int charsWritten, ReadOnlySpan format = default, IFormatProvider provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format=default(System.ReadOnlySpan), System.IFormatProvider provider=null) { throw null; } + public static bool TryParse(System.ReadOnlySpan value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.BigInteger result) { throw null; } + public static bool TryParse(System.ReadOnlySpan value, out System.Numerics.BigInteger result) { throw null; } public static bool TryParse(string value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.BigInteger result) { throw null; } public static bool TryParse(string value, out System.Numerics.BigInteger result) { throw null; } - public static bool TryParse(ReadOnlySpan value, out System.Numerics.BigInteger result) { throw null; } - public static bool TryParse(ReadOnlySpan value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Numerics.BigInteger result) { throw null; } public bool TryWriteBytes(System.Span destination, out int bytesWritten, bool isUnsigned=false, bool isBigEndian=false) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Complex : System.IEquatable, System.IFormattable { + private int _dummy; public static readonly System.Numerics.Complex ImaginaryOne; public static readonly System.Numerics.Complex One; public static readonly System.Numerics.Complex Zero; @@ -198,22 +197,22 @@ public partial struct Complex : System.IEquatable, Syst public static System.Numerics.Complex operator +(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } public static System.Numerics.Complex operator /(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } public static bool operator ==(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } - public static explicit operator System.Numerics.Complex(decimal value) { throw null; } - public static explicit operator System.Numerics.Complex(System.Numerics.BigInteger value) { throw null; } - public static implicit operator System.Numerics.Complex(byte value) { throw null; } - public static implicit operator System.Numerics.Complex(double value) { throw null; } - public static implicit operator System.Numerics.Complex(short value) { throw null; } - public static implicit operator System.Numerics.Complex(int value) { throw null; } - public static implicit operator System.Numerics.Complex(long value) { throw null; } + public static explicit operator System.Numerics.Complex (decimal value) { throw null; } + public static explicit operator System.Numerics.Complex (System.Numerics.BigInteger value) { throw null; } + public static implicit operator System.Numerics.Complex (byte value) { throw null; } + public static implicit operator System.Numerics.Complex (double value) { throw null; } + public static implicit operator System.Numerics.Complex (short value) { throw null; } + public static implicit operator System.Numerics.Complex (int value) { throw null; } + public static implicit operator System.Numerics.Complex (long value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.Complex(sbyte value) { throw null; } - public static implicit operator System.Numerics.Complex(float value) { throw null; } + public static implicit operator System.Numerics.Complex (sbyte value) { throw null; } + public static implicit operator System.Numerics.Complex (float value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.Complex(ushort value) { throw null; } + public static implicit operator System.Numerics.Complex (ushort value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.Complex(uint value) { throw null; } + public static implicit operator System.Numerics.Complex (uint value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.Complex(ulong value) { throw null; } + public static implicit operator System.Numerics.Complex (ulong value) { throw null; } public static bool operator !=(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } public static System.Numerics.Complex operator *(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } public static System.Numerics.Complex operator -(System.Numerics.Complex left, System.Numerics.Complex right) { throw null; } diff --git a/src/System.Runtime.WindowsRuntime.UI.Xaml/ref/System.Runtime.WindowsRuntime.UI.Xaml.cs b/src/System.Runtime.WindowsRuntime.UI.Xaml/ref/System.Runtime.WindowsRuntime.UI.Xaml.cs index f388dff621d2..e02872c64070 100644 --- a/src/System.Runtime.WindowsRuntime.UI.Xaml/ref/System.Runtime.WindowsRuntime.UI.Xaml.cs +++ b/src/System.Runtime.WindowsRuntime.UI.Xaml/ref/System.Runtime.WindowsRuntime.UI.Xaml.cs @@ -8,9 +8,9 @@ namespace Windows.UI.Xaml { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct CornerRadius { + private int _dummy; public CornerRadius(double uniformRadius) { throw null; } public CornerRadius(double topLeft, double topRight, double bottomRight, double bottomLeft) { throw null; } public double BottomLeft { get { throw null; } set { } } @@ -24,9 +24,9 @@ public partial struct CornerRadius public static bool operator !=(global::Windows.UI.Xaml.CornerRadius cr1, global::Windows.UI.Xaml.CornerRadius cr2) { throw null; } public override string ToString() { throw null; } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Duration { + private int _dummy; public Duration(global::System.TimeSpan timeSpan) { throw null; } public static global::Windows.UI.Xaml.Duration Automatic { get { throw null; } } public static global::Windows.UI.Xaml.Duration Forever { get { throw null; } } @@ -57,9 +57,9 @@ public enum DurationType Forever = 2, TimeSpan = 1, } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct GridLength { + private int _dummy; public GridLength(double pixels) { throw null; } public GridLength(double value, global::Windows.UI.Xaml.GridUnitType type) { throw null; } public static global::Windows.UI.Xaml.GridLength Auto { get { throw null; } } @@ -87,9 +87,9 @@ public LayoutCycleException() { } public LayoutCycleException(string message) { } public LayoutCycleException(string message, global::System.Exception innerException) { } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Thickness { + private int _dummy; public Thickness(double uniformLength) { throw null; } public Thickness(double left, double top, double right, double bottom) { throw null; } public double Bottom { get { throw null; } set { } } @@ -121,9 +121,9 @@ public ElementNotEnabledException(string message, global::System.Exception inner } namespace Windows.UI.Xaml.Controls.Primitives { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct GeneratorPosition { + private int _dummy; public GeneratorPosition(int index, int offset) { throw null; } public int Index { get { throw null; } set { } } public int Offset { get { throw null; } set { } } @@ -145,9 +145,9 @@ public XamlParseException(string message, global::System.Exception innerExceptio } namespace Windows.UI.Xaml.Media { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Matrix : global::System.IFormattable { + private int _dummy; public Matrix(double m11, double m12, double m21, double m22, double offsetX, double offsetY) { throw null; } public static global::Windows.UI.Xaml.Media.Matrix Identity { get { throw null; } } public bool IsIdentity { get { throw null; } } @@ -170,9 +170,9 @@ public partial struct Matrix : global::System.IFormattable } namespace Windows.UI.Xaml.Media.Animation { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct KeyTime { + private int _dummy; public global::System.TimeSpan TimeSpan { get { throw null; } } public override bool Equals(object value) { throw null; } public bool Equals(global::Windows.UI.Xaml.Media.Animation.KeyTime value) { throw null; } @@ -184,9 +184,9 @@ public partial struct KeyTime public static bool operator !=(global::Windows.UI.Xaml.Media.Animation.KeyTime keyTime1, global::Windows.UI.Xaml.Media.Animation.KeyTime keyTime2) { throw null; } public override string ToString() { throw null; } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct RepeatBehavior : global::System.IFormattable { + private int _dummy; public RepeatBehavior(double count) { throw null; } public RepeatBehavior(global::System.TimeSpan duration) { throw null; } public double Count { get { throw null; } set { } } @@ -214,9 +214,9 @@ public enum RepeatBehaviorType } namespace Windows.UI.Xaml.Media.Media3D { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Matrix3D : global::System.IFormattable { + private int _dummy; public Matrix3D(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double offsetX, double offsetY, double offsetZ, double m44) { throw null; } public bool HasInverse { get { throw null; } } public static global::Windows.UI.Xaml.Media.Media3D.Matrix3D Identity { get { throw null; } } diff --git a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs index d6d52b66c1c6..408ac71df9f2 100644 --- a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs +++ b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.cs @@ -145,9 +145,9 @@ public static void CopyTo(this global::Windows.Storage.Streams.IBuffer source, g } namespace Windows.Foundation { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Point { + private int _dummy; public Point(double x, double y) { throw null; } public double X { get { throw null; } set { } } public double Y { get { throw null; } set { } } @@ -159,9 +159,9 @@ public partial struct Point public override string ToString() { throw null; } public string ToString(global::System.IFormatProvider provider) { throw null; } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Rect { + private int _dummy; public Rect(double x, double y, double width, double height) { throw null; } public Rect(global::Windows.Foundation.Point point1, global::Windows.Foundation.Point point2) { throw null; } public Rect(global::Windows.Foundation.Point location, global::Windows.Foundation.Size size) { throw null; } @@ -187,9 +187,9 @@ public void Intersect(global::Windows.Foundation.Rect rect) { } public void Union(global::Windows.Foundation.Point point) { } public void Union(global::Windows.Foundation.Rect rect) { } } - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Size { + private int _dummy; public Size(double width, double height) { throw null; } public static global::Windows.Foundation.Size Empty { get { throw null; } } public double Height { get { throw null; } set { } } @@ -205,9 +205,9 @@ public partial struct Size } namespace Windows.UI { - [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct Color { + private int _dummy; public byte A { get { throw null; } set { } } public byte B { get { throw null; } set { } } public byte G { get { throw null; } set { } } diff --git a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj index 02e0a93c0966..fd48a9a229c1 100644 --- a/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj +++ b/src/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj @@ -11,7 +11,7 @@ Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' does not match the output assembly name 'System.Runtime.WindowsRuntime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. --> - 1698 + $(NoWarn);1698 {FDDA3E4A-B182-4CD1-B624-EBD72D8A05DA} diff --git a/src/System.Runtime/ref/System.Runtime.csproj b/src/System.Runtime/ref/System.Runtime.csproj index 1b18098a25a9..3bf3278f934d 100644 --- a/src/System.Runtime/ref/System.Runtime.csproj +++ b/src/System.Runtime/ref/System.Runtime.csproj @@ -6,7 +6,7 @@ true {ADBCF120-3454-4A3C-9D1D-AC4293E795D6} - $(NoWarn);0809;0618;0169 + $(NoWarn);0809;0618 $(DefineConstants);FEATURE_DEFAULT_INTERFACES diff --git a/src/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs b/src/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs index 83724876ab29..b5030ad693f5 100644 --- a/src/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs +++ b/src/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs @@ -5,7 +5,6 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Security.Cryptography { public abstract partial class Aes : System.Security.Cryptography.SymmetricAlgorithm @@ -18,8 +17,8 @@ protected Aes() { } public sealed partial class AesManaged : System.Security.Cryptography.Aes { public AesManaged() { } - public override int FeedbackSize { get { throw null; } set { } } public override int BlockSize { get { throw null; } set { } } + public override int FeedbackSize { get { throw null; } set { } } public override byte[] IV { get { throw null; } set { } } public override byte[] Key { get { throw null; } set { } } public override int KeySize { get { throw null; } set { } } @@ -66,14 +65,6 @@ protected AsymmetricSignatureFormatter() { } public abstract void SetHashAlgorithm(string strName); public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); } - public abstract partial class DeriveBytes : System.IDisposable - { - protected DeriveBytes() { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public abstract byte[] GetBytes(int cb); - public abstract void Reset(); - } public partial class CryptoConfig { public CryptoConfig() { } @@ -85,6 +76,14 @@ public static void AddOID(string oid, params string[] names) { } public static byte[] EncodeOID(string str) { throw null; } public static string MapNameToOID(string name) { throw null; } } + public abstract partial class DeriveBytes : System.IDisposable + { + protected DeriveBytes() { } + public void Dispose() { } + protected virtual void Dispose(bool disposing) { } + public abstract byte[] GetBytes(int cb); + public abstract void Reset(); + } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public abstract partial class DES : System.Security.Cryptography.SymmetricAlgorithm { @@ -117,7 +116,6 @@ public override void FromXmlString(string xmlString) { } public virtual bool VerifyData(System.IO.Stream data, byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } public abstract bool VerifySignature(byte[] rgbHash, byte[] rgbSignature); } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct DSAParameters { public int Counter; @@ -145,9 +143,9 @@ public DSASignatureFormatter(System.Security.Cryptography.AsymmetricAlgorithm ke public override void SetHashAlgorithm(string strName) { } public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ECCurve { + private object _dummy; public byte[] A; public byte[] B; public byte[] Cofactor; @@ -231,7 +229,6 @@ public virtual void ImportParameters(System.Security.Cryptography.ECParameters p public bool VerifyData(System.IO.Stream data, byte[] signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } public abstract bool VerifyHash(byte[] hash, byte[] signature); } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ECParameters { public System.Security.Cryptography.ECCurve Curve; @@ -239,7 +236,6 @@ public partial struct ECParameters public System.Security.Cryptography.ECPoint Q; public void Validate() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ECPoint { public byte[] X; @@ -252,8 +248,10 @@ public HMACMD5(byte[] key) { } public override byte[] Key { get { throw null; } set { } } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public partial class HMACSHA1 : System.Security.Cryptography.HMAC { @@ -264,8 +262,10 @@ public HMACSHA1(byte[] key, bool useManagedSha1) { } public override byte[] Key { get { throw null; } set { } } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public partial class HMACSHA256 : System.Security.Cryptography.HMAC { @@ -274,30 +274,36 @@ public HMACSHA256(byte[] key) { } public override byte[] Key { get { throw null; } set { } } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public partial class HMACSHA384 : System.Security.Cryptography.HMAC { public HMACSHA384() { } public HMACSHA384(byte[] key) { } - public bool ProduceLegacyHmacValues { get; set; } public override byte[] Key { get { throw null; } set { } } + public bool ProduceLegacyHmacValues { get { throw null; } set { } } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public partial class HMACSHA512 : System.Security.Cryptography.HMAC { public HMACSHA512() { } public HMACSHA512(byte[] key) { } - public bool ProduceLegacyHmacValues { get; set; } public override byte[] Key { get { throw null; } set { } } + public bool ProduceLegacyHmacValues { get { throw null; } set { } } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public sealed partial class IncrementalHash : System.IDisposable { @@ -310,17 +316,17 @@ public void AppendData(byte[] data, int offset, int count) { } public void Dispose() { } public byte[] GetHashAndReset() { throw null; } } + public abstract partial class MaskGenerationMethod + { + public abstract byte[] GenerateMask(byte[] rgbSeed, int cbReturn); + } public abstract partial class MD5 : System.Security.Cryptography.HashAlgorithm { protected MD5() { } public static new System.Security.Cryptography.MD5 Create() { throw null; } public static new System.Security.Cryptography.MD5 Create(string algName) { throw null; } } - public abstract class MaskGenerationMethod - { - public abstract byte[] GenerateMask(byte[] rgbSeed, int cbReturn); - } - public class PKCS1MaskGenerationMethod : MaskGenerationMethod + public partial class PKCS1MaskGenerationMethod : System.Security.Cryptography.MaskGenerationMethod { public PKCS1MaskGenerationMethod() { } public string HashName { get { throw null; } set { } } @@ -347,6 +353,24 @@ protected RC2() { } public static new System.Security.Cryptography.RC2 Create() { throw null; } public static new System.Security.Cryptography.RC2 Create(string AlgName) { throw null; } } + public partial class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes + { + public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations) { } + public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { } + public Rfc2898DeriveBytes(string password, byte[] salt) { } + public Rfc2898DeriveBytes(string password, byte[] salt, int iterations) { } + public Rfc2898DeriveBytes(string password, byte[] salt, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { } + public Rfc2898DeriveBytes(string password, int saltSize) { } + public Rfc2898DeriveBytes(string password, int saltSize, int iterations) { } + public Rfc2898DeriveBytes(string password, int saltSize, int iterations, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { } + public System.Security.Cryptography.HashAlgorithmName HashAlgorithm { get { throw null; } } + public int IterationCount { get { throw null; } set { } } + public byte[] Salt { get { throw null; } set { } } + public byte[] CryptDeriveKey(string algname, string alghashname, int keySize, byte[] rgbIV) { throw null; } + protected override void Dispose(bool disposing) { } + public override byte[] GetBytes(int cb) { throw null; } + public override void Reset() { } + } [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] public abstract partial class Rijndael : System.Security.Cryptography.SymmetricAlgorithm { @@ -373,24 +397,6 @@ protected override void Dispose(bool disposing) { } public override void GenerateIV() { } public override void GenerateKey() { } } - public partial class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes - { - public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations) { } - public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm) { } - public Rfc2898DeriveBytes(string password, byte[] salt) { } - public Rfc2898DeriveBytes(string password, byte[] salt, int iterations) { } - public Rfc2898DeriveBytes(string password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm) { } - public Rfc2898DeriveBytes(string password, int saltSize) { } - public Rfc2898DeriveBytes(string password, int saltSize, int iterations) { } - public Rfc2898DeriveBytes(string password, int saltSize, int iterations, HashAlgorithmName hashAlgorithm) { } - public HashAlgorithmName HashAlgorithm { get { throw null; } } - public int IterationCount { get { throw null; } set { } } - public byte[] Salt { get { throw null; } set { } } - public byte[] CryptDeriveKey(string algname, string alghashname, int keySize, byte[] rgbIV) { throw null; } - protected override void Dispose(bool disposing) { } - public override byte[] GetBytes(int cb) { throw null; } - public override void Reset() { } - } public abstract partial class RSA : System.Security.Cryptography.AsymmetricAlgorithm { protected RSA() { } @@ -398,16 +404,16 @@ protected RSA() { } public override string SignatureAlgorithm { get { throw null; } } public static new System.Security.Cryptography.RSA Create() { throw null; } public static System.Security.Cryptography.RSA Create(int keySizeInBits) { throw null; } - public static new System.Security.Cryptography.RSA Create(string algName) { throw null; } public static System.Security.Cryptography.RSA Create(System.Security.Cryptography.RSAParameters parameters) { throw null; } + public static new System.Security.Cryptography.RSA Create(string algName) { throw null; } public virtual byte[] Decrypt(byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) { throw null; } public virtual byte[] DecryptValue(byte[] rgb) { throw null; } public virtual byte[] Encrypt(byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding) { throw null; } public virtual byte[] EncryptValue(byte[] rgb) { throw null; } public abstract System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters); + public override void FromXmlString(string xmlString) { } protected virtual byte[] HashData(byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } protected virtual byte[] HashData(System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } - public override void FromXmlString(string xmlString) { } public abstract void ImportParameters(System.Security.Cryptography.RSAParameters parameters); public virtual byte[] SignData(byte[] data, int offset, int count, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) { throw null; } public byte[] SignData(byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding) { throw null; } @@ -456,12 +462,11 @@ public RSAOAEPKeyExchangeFormatter() { } public RSAOAEPKeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) { } public byte[] Parameter { get { throw null; } set { } } public override string Parameters { get { throw null; } } - public RandomNumberGenerator Rng { get { throw null; } set { } } + public System.Security.Cryptography.RandomNumberGenerator Rng { get { throw null; } set { } } public override byte[] CreateKeyExchange(byte[] rgbData) { throw null; } public override byte[] CreateKeyExchange(byte[] rgbData, System.Type symAlgType) { throw null; } public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct RSAParameters { public byte[] D; @@ -477,8 +482,8 @@ public partial class RSAPKCS1KeyExchangeDeformatter : System.Security.Cryptograp { public RSAPKCS1KeyExchangeDeformatter() { } public RSAPKCS1KeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) { } - public RandomNumberGenerator RNG { get { throw null; } set { } } public override string Parameters { get { throw null; } set { } } + public System.Security.Cryptography.RandomNumberGenerator RNG { get { throw null; } set { } } public override byte[] DecryptKeyExchange(byte[] rgbIn) { throw null; } public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) { } } @@ -487,7 +492,7 @@ public partial class RSAPKCS1KeyExchangeFormatter : System.Security.Cryptography public RSAPKCS1KeyExchangeFormatter() { } public RSAPKCS1KeyExchangeFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) { } public override string Parameters { get { throw null; } } - public RandomNumberGenerator Rng { get { throw null; } set { } } + public System.Security.Cryptography.RandomNumberGenerator Rng { get { throw null; } set { } } public override byte[] CreateKeyExchange(byte[] rgbData) { throw null; } public override byte[] CreateKeyExchange(byte[] rgbData, System.Type symAlgType) { throw null; } public override void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key) { } @@ -538,8 +543,10 @@ public sealed partial class SHA1Managed : System.Security.Cryptography.SHA1 public SHA1Managed() { } protected sealed override void Dispose(bool disposing) { } protected sealed override void HashCore(byte[] array, int ibStart, int cbSize) { } + protected sealed override void HashCore(System.ReadOnlySpan source) { } protected sealed override byte[] HashFinal() { throw null; } public sealed override void Initialize() { } + protected sealed override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public abstract partial class SHA256 : System.Security.Cryptography.HashAlgorithm { @@ -553,8 +560,10 @@ public sealed partial class SHA256Managed : System.Security.Cryptography.SHA256 public SHA256Managed() { } protected sealed override void Dispose(bool disposing) { } protected sealed override void HashCore(byte[] array, int ibStart, int cbSize) { } + protected sealed override void HashCore(System.ReadOnlySpan source) { } protected sealed override byte[] HashFinal() { throw null; } public sealed override void Initialize() { } + protected sealed override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public abstract partial class SHA384 : System.Security.Cryptography.HashAlgorithm { @@ -568,8 +577,10 @@ public sealed partial class SHA384Managed : System.Security.Cryptography.SHA384 public SHA384Managed() { } protected sealed override void Dispose(bool disposing) { } protected sealed override void HashCore(byte[] array, int ibStart, int cbSize) { } + protected sealed override void HashCore(System.ReadOnlySpan source) { } protected sealed override byte[] HashFinal() { throw null; } public sealed override void Initialize() { } + protected sealed override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public abstract partial class SHA512 : System.Security.Cryptography.HashAlgorithm { @@ -583,16 +594,19 @@ public sealed partial class SHA512Managed : System.Security.Cryptography.SHA512 public SHA512Managed() { } protected sealed override void Dispose(bool disposing) { } protected sealed override void HashCore(byte[] array, int ibStart, int cbSize) { } + protected sealed override void HashCore(System.ReadOnlySpan source) { } protected sealed override byte[] HashFinal() { throw null; } public sealed override void Initialize() { } + protected sealed override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } - public partial class SignatureDescription { + public partial class SignatureDescription + { public SignatureDescription() { } public SignatureDescription(System.Security.SecurityElement el) { } public string DeformatterAlgorithm { get { throw null; } set { } } - public string DigestAlgorithm { get { throw null;} set { } } - public string FormatterAlgorithm { get { throw null;} set { } } - public string KeyAlgorithm { get { throw null;} set { } } + public string DigestAlgorithm { get { throw null; } set { } } + public string FormatterAlgorithm { get { throw null; } set { } } + public string KeyAlgorithm { get { throw null; } set { } } public virtual System.Security.Cryptography.AsymmetricSignatureDeformatter CreateDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; } public virtual System.Security.Cryptography.HashAlgorithm CreateDigest() { throw null; } public virtual System.Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; } diff --git a/src/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs b/src/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs index 56e7dc46ad08..1d6c944bf944 100644 --- a/src/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs +++ b/src/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs @@ -5,7 +5,6 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace Microsoft.Win32.SafeHandles { public abstract partial class SafeNCryptHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid @@ -197,9 +196,9 @@ public enum CngKeyUsages None = 0, Signing = 2, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct CngProperty : System.IEquatable { + private object _dummy; public CngProperty(string name, byte[] value, System.Security.Cryptography.CngPropertyOptions options) { throw null; } public string Name { get { throw null; } } public System.Security.Cryptography.CngPropertyOptions Options { get { throw null; } } diff --git a/src/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.cs b/src/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.cs index ea3a4279ba0b..a6f9682cd660 100644 --- a/src/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.cs +++ b/src/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.cs @@ -322,9 +322,9 @@ public enum SubjectIdentifierType } namespace System.Security.Cryptography.Xml { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct X509IssuerSerial { + private object _dummy; public string IssuerName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SerialNumber { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } } diff --git a/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs b/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs index ec17f1d1bb57..73d5d1e6bbb4 100644 --- a/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs +++ b/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs @@ -17,10 +17,10 @@ protected AsymmetricAlgorithm() { } public virtual string KeyExchangeAlgorithm { get { throw null; } } public virtual int KeySize { get { throw null; } set { } } public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get { throw null; } } - public static System.Security.Cryptography.AsymmetricAlgorithm Create() { throw null; } - public static System.Security.Cryptography.AsymmetricAlgorithm Create(string algName) { throw null; } public virtual string SignatureAlgorithm { get { throw null; } } public void Clear() { } + public static System.Security.Cryptography.AsymmetricAlgorithm Create() { throw null; } + public static System.Security.Cryptography.AsymmetricAlgorithm Create(string algName) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } public virtual void FromXmlString(string xmlString) { } @@ -51,11 +51,15 @@ public CryptoStream(System.IO.Stream stream, System.Security.Cryptography.ICrypt public override bool CanRead { get { throw null; } } public override bool CanSeek { get { throw null; } } public override bool CanWrite { get { throw null; } } - public void Clear() { } public bool HasFlushedFinalBlock { get { throw null; } } public override long Length { get { throw null; } } public override long Position { get { throw null; } set { } } + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } + public void Clear() { } protected override void Dispose(bool disposing) { } + public override int EndRead(System.IAsyncResult asyncResult) { throw null; } + public override void EndWrite(System.IAsyncResult asyncResult) { } public override void Flush() { } public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public void FlushFinalBlock() { } @@ -75,8 +79,8 @@ public enum CryptoStreamMode } public abstract partial class HashAlgorithm : System.IDisposable, System.Security.Cryptography.ICryptoTransform { - protected internal byte[] HashValue; protected int HashSizeValue; + protected internal byte[] HashValue; protected int State; protected HashAlgorithm() { } public virtual bool CanReuseTransform { get { throw null; } } @@ -94,17 +98,17 @@ public void Clear() { } public void Dispose() { } protected virtual void Dispose(bool disposing) { } protected abstract void HashCore(byte[] array, int ibStart, int cbSize); - protected virtual void HashCore(ReadOnlySpan source) { throw null; } + protected virtual void HashCore(System.ReadOnlySpan source) { } protected abstract byte[] HashFinal(); public abstract void Initialize(); public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) { throw null; } public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount) { throw null; } - public bool TryComputeHash(ReadOnlySpan source, Span destination, out int bytesWritten) { throw null; } - protected virtual bool TryHashFinal(Span destination, out int bytesWritten) { throw null; } + public bool TryComputeHash(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } + protected virtual bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct HashAlgorithmName : System.IEquatable { + private readonly object _dummy; public HashAlgorithmName(string name) { throw null; } public static System.Security.Cryptography.HashAlgorithmName MD5 { get { throw null; } } public string Name { get { throw null; } } @@ -122,15 +126,17 @@ protected virtual void Dispose(bool disposing) { } public abstract partial class HMAC : System.Security.Cryptography.KeyedHashAlgorithm { protected HMAC() { } - protected int BlockSizeValue { get { throw null; } set {} } + protected int BlockSizeValue { get { throw null; } set { } } public string HashName { get { throw null; } set { } } public override byte[] Key { get { throw null; } set { } } public static new System.Security.Cryptography.HMAC Create() { throw null; } public static new System.Security.Cryptography.HMAC Create(string algorithmName) { throw null; } protected override void Dispose(bool disposing) { } protected override void HashCore(byte[] rgb, int ib, int cb) { } + protected override void HashCore(System.ReadOnlySpan source) { } protected override byte[] HashFinal() { throw null; } public override void Initialize() { } + protected override bool TryHashFinal(System.Span destination, out int bytesWritten) { throw null; } } public partial interface ICryptoTransform : System.IDisposable { @@ -159,16 +165,16 @@ public KeySizes(int minSize, int maxSize, int skipSize) { } } public enum PaddingMode { + ANSIX923 = 4, + ISO10126 = 5, None = 1, PKCS7 = 2, Zeros = 3, - ANSIX923 = 4, - ISO10126 = 5, } public abstract partial class SymmetricAlgorithm : System.IDisposable { - protected int FeedbackSizeValue; protected int BlockSizeValue; + protected int FeedbackSizeValue; protected byte[] IVValue; protected int KeySizeValue; protected byte[] KeyValue; @@ -177,8 +183,8 @@ public abstract partial class SymmetricAlgorithm : System.IDisposable protected System.Security.Cryptography.CipherMode ModeValue; protected System.Security.Cryptography.PaddingMode PaddingValue; protected SymmetricAlgorithm() { } - public virtual int FeedbackSize { get { throw null; } set { } } public virtual int BlockSize { get { throw null; } set { } } + public virtual int FeedbackSize { get { throw null; } set { } } public virtual byte[] IV { get { throw null; } set { } } public virtual byte[] Key { get { throw null; } set { } } public virtual int KeySize { get { throw null; } set { } } @@ -186,13 +192,13 @@ protected SymmetricAlgorithm() { } public virtual System.Security.Cryptography.KeySizes[] LegalKeySizes { get { throw null; } } public virtual System.Security.Cryptography.CipherMode Mode { get { throw null; } set { } } public virtual System.Security.Cryptography.PaddingMode Padding { get { throw null; } set { } } + public void Clear() { } public static System.Security.Cryptography.SymmetricAlgorithm Create() { throw null; } public static System.Security.Cryptography.SymmetricAlgorithm Create(string algName) { throw null; } public virtual System.Security.Cryptography.ICryptoTransform CreateDecryptor() { throw null; } public abstract System.Security.Cryptography.ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV); public virtual System.Security.Cryptography.ICryptoTransform CreateEncryptor() { throw null; } public abstract System.Security.Cryptography.ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV); - public void Clear() { } public void Dispose() { } protected virtual void Dispose(bool disposing) { } public abstract void GenerateIV(); diff --git a/src/System.Security.Cryptography.X509Certificates/ref/System.Security.Cryptography.X509Certificates.cs b/src/System.Security.Cryptography.X509Certificates/ref/System.Security.Cryptography.X509Certificates.cs index efb43d2481ac..fb501f6b7a3d 100644 --- a/src/System.Security.Cryptography.X509Certificates/ref/System.Security.Cryptography.X509Certificates.cs +++ b/src/System.Security.Cryptography.X509Certificates/ref/System.Security.Cryptography.X509Certificates.cs @@ -9,13 +9,11 @@ namespace Microsoft.Win32.SafeHandles { public sealed partial class SafeX509ChainHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { - internal SafeX509ChainHandle() : base(default(bool)) { } - public override bool IsInvalid { get { throw null; } } + internal SafeX509ChainHandle() : base (default(bool)) { } protected override void Dispose(bool disposing) { } protected override bool ReleaseHandle() { throw null; } } } - namespace System.Security.Cryptography.X509Certificates { public sealed partial class CertificateRequest @@ -131,7 +129,7 @@ public X509BasicConstraintsExtension(System.Security.Cryptography.AsnEncodedData public int PathLengthConstraint { get { throw null; } } public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { } } - public partial class X509Certificate : System.IDisposable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback + public partial class X509Certificate : System.IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public X509Certificate() { } public X509Certificate(byte[] data) { } @@ -166,10 +164,9 @@ protected virtual void Dispose(bool disposing) { } public virtual byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) { throw null; } protected static string FormatDate(System.DateTime date) { throw null; } public virtual byte[] GetCertHash() { throw null; } - public virtual byte[] GetCertHash(HashAlgorithmName hashAlgorithm) { throw null; } - public virtual bool TryGetCertHash(HashAlgorithmName hashAlgorithm, Span destination, out int bytesWritten) { throw null; } + public virtual byte[] GetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } public virtual string GetCertHashString() { throw null; } - public virtual string GetCertHashString(HashAlgorithmName hashAlgorithm) { throw null; } + public virtual string GetCertHashString(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } public virtual string GetEffectiveDateString() { throw null; } public virtual string GetExpirationDateString() { throw null; } public virtual string GetFormat() { throw null; } @@ -200,6 +197,7 @@ void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(obj void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } public virtual string ToString(bool fVerbose) { throw null; } + public virtual bool TryGetCertHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Span destination, out int bytesWritten) { throw null; } } public partial class X509Certificate2 : System.Security.Cryptography.X509Certificates.X509Certificate { @@ -256,12 +254,12 @@ public partial class X509Certificate2Collection : System.Security.Cryptography.X { public X509Certificate2Collection() { } public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } - public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) { } + public X509Certificate2Collection(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } public new System.Security.Cryptography.X509Certificates.X509Certificate2 this[int index] { get { throw null; } set { } } public int Add(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; } - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) { } + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; } public byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType) { throw null; } public byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, string password) { throw null; } @@ -273,8 +271,8 @@ public void Import(string fileName) { } public void Import(string fileName, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags) { } public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } - public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) { } + public void RemoveRange(System.Security.Cryptography.X509Certificates.X509Certificate2[] certificates) { } } public sealed partial class X509Certificate2Enumerator : System.Collections.IEnumerator { @@ -289,18 +287,19 @@ void System.Collections.IEnumerator.Reset() { } public partial class X509CertificateCollection : System.Collections.CollectionBase { public X509CertificateCollection() { } - public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509Certificate[] value) { } public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) { } + public X509CertificateCollection(System.Security.Cryptography.X509Certificates.X509Certificate[] value) { } public System.Security.Cryptography.X509Certificates.X509Certificate this[int index] { get { throw null; } set { } } public int Add(System.Security.Cryptography.X509Certificates.X509Certificate value) { throw null; } - public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate[] value) { } public void AddRange(System.Security.Cryptography.X509Certificates.X509CertificateCollection value) { } + public void AddRange(System.Security.Cryptography.X509Certificates.X509Certificate[] value) { } public bool Contains(System.Security.Cryptography.X509Certificates.X509Certificate value) { throw null; } public void CopyTo(System.Security.Cryptography.X509Certificates.X509Certificate[] array, int index) { } public new System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator GetEnumerator() { throw null; } public override int GetHashCode() { throw null; } public int IndexOf(System.Security.Cryptography.X509Certificates.X509Certificate value) { throw null; } public void Insert(int index, System.Security.Cryptography.X509Certificates.X509Certificate value) { } + protected override void OnValidate(object value) { } public void Remove(System.Security.Cryptography.X509Certificates.X509Certificate value) { } public partial class X509CertificateEnumerator : System.Collections.IEnumerator { @@ -318,13 +317,13 @@ public partial class X509Chain : System.IDisposable public X509Chain() { } public X509Chain(bool useMachineContext) { } public X509Chain(System.IntPtr chainContext) { } - public static X509Chain Create() { throw null; } public System.IntPtr ChainContext { get { throw null; } } public System.Security.Cryptography.X509Certificates.X509ChainElementCollection ChainElements { get { throw null; } } public System.Security.Cryptography.X509Certificates.X509ChainPolicy ChainPolicy { get { throw null; } set { } } public System.Security.Cryptography.X509Certificates.X509ChainStatus[] ChainStatus { get { throw null; } } public Microsoft.Win32.SafeHandles.SafeX509ChainHandle SafeHandle { get { throw null; } } public bool Build(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; } + public static System.Security.Cryptography.X509Certificates.X509Chain Create() { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } public void Reset() { } @@ -369,9 +368,9 @@ public X509ChainPolicy() { } public System.DateTime VerificationTime { get { throw null; } set { } } public void Reset() { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct X509ChainStatus { + private object _dummy; public System.Security.Cryptography.X509Certificates.X509ChainStatusFlags Status { get { throw null; } set { } } public string StatusInformation { get { throw null; } set { } } } diff --git a/src/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.cs b/src/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.cs index 0e3c0ebac815..0da3f422bfce 100644 --- a/src/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.cs +++ b/src/System.ServiceProcess.ServiceController/ref/System.ServiceProcess.ServiceController.cs @@ -115,9 +115,9 @@ public enum ServiceType Win32OwnProcess = 16, Win32ShareProcess = 32, } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SessionChangeDescription { + private readonly int _dummy; public System.ServiceProcess.SessionChangeReason Reason { get { throw null; } } public int SessionId { get { throw null; } } public override bool Equals(object obj) { throw null; } diff --git a/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs b/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs index 75ca0ef2d499..2db5dcc9dd4d 100644 --- a/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs +++ b/src/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs @@ -10,7 +10,6 @@ namespace System.Threading { [System.CLSCompliantAttribute(false)] public unsafe delegate void IOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP); - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct NativeOverlapped { public System.IntPtr EventHandle; diff --git a/src/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.cs b/src/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.cs index 2d841d5505ef..244dddf0d883 100644 --- a/src/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.cs +++ b/src/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.cs @@ -31,14 +31,14 @@ public BatchBlock(int batchSize, System.Threading.Tasks.Dataflow.GroupingDataflo public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - T[] System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + T[] System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, T messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } public void TriggerBatch() { } - public bool TryReceive(System.Predicate filter, out T[] item) { item = default(T[]); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } + public bool TryReceive(System.Predicate filter, out T[] item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } } public sealed partial class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList>> { @@ -52,12 +52,12 @@ public BatchedJoinBlock(int batchSize, System.Threading.Tasks.Dataflow.GroupingD public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList>> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - System.Tuple, System.Collections.Generic.IList> System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList>>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList>> target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + System.Tuple, System.Collections.Generic.IList> System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList>>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList>>.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList>> target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList>>.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList>> target) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate, System.Collections.Generic.IList>> filter, out System.Tuple, System.Collections.Generic.IList> item) { item = default(System.Tuple, System.Collections.Generic.IList>); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList>> items) { items = default(System.Collections.Generic.IList, System.Collections.Generic.IList>>); throw null; } + public bool TryReceive(System.Predicate, System.Collections.Generic.IList>> filter, out System.Tuple, System.Collections.Generic.IList> item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList>> items) { throw null; } } public sealed partial class BatchedJoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>>, System.Threading.Tasks.Dataflow.ISourceBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> { @@ -72,12 +72,12 @@ public BatchedJoinBlock(int batchSize, System.Threading.Tasks.Dataflow.GroupingD public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - System.Tuple, System.Collections.Generic.IList, System.Collections.Generic.IList> System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList,System.Collections.Generic.IList>>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + System.Tuple, System.Collections.Generic.IList, System.Collections.Generic.IList> System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList,System.Collections.Generic.IList>>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList,System.Collections.Generic.IList>>.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock,System.Collections.Generic.IList,System.Collections.Generic.IList>>.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock, System.Collections.Generic.IList, System.Collections.Generic.IList>> target) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate, System.Collections.Generic.IList, System.Collections.Generic.IList>> filter, out System.Tuple, System.Collections.Generic.IList, System.Collections.Generic.IList> item) { item = default(System.Tuple, System.Collections.Generic.IList, System.Collections.Generic.IList>); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList, System.Collections.Generic.IList>> items) { items = default(System.Collections.Generic.IList, System.Collections.Generic.IList, System.Collections.Generic.IList>>); throw null; } + public bool TryReceive(System.Predicate, System.Collections.Generic.IList, System.Collections.Generic.IList>> filter, out System.Tuple, System.Collections.Generic.IList, System.Collections.Generic.IList> item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList, System.Collections.Generic.IList, System.Collections.Generic.IList>> items) { throw null; } } public sealed partial class BroadcastBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { @@ -87,13 +87,13 @@ public BroadcastBlock(System.Func cloningFunction, System.Threading.Tasks. public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } - T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } + T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, T messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate filter, out T item) { item = default(T); throw null; } + public bool TryReceive(System.Predicate filter, out T item) { throw null; } } public sealed partial class BufferBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { @@ -104,13 +104,13 @@ public BufferBlock(System.Threading.Tasks.Dataflow.DataflowBlockOptions dataflow public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, T messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate filter, out T item) { item = default(T); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } + public bool TryReceive(System.Predicate filter, out T item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } } public static partial class DataflowBlock { @@ -138,7 +138,7 @@ public static partial class DataflowBlock public static TOutput Receive(this System.Threading.Tasks.Dataflow.ISourceBlock source, System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw null; } public static System.Threading.Tasks.Task SendAsync(this System.Threading.Tasks.Dataflow.ITargetBlock target, TInput item) { throw null; } public static System.Threading.Tasks.Task SendAsync(this System.Threading.Tasks.Dataflow.ITargetBlock target, TInput item, System.Threading.CancellationToken cancellationToken) { throw null; } - public static bool TryReceive(this System.Threading.Tasks.Dataflow.IReceivableSourceBlock source, out TOutput item) { item = default(TOutput); throw null; } + public static bool TryReceive(this System.Threading.Tasks.Dataflow.IReceivableSourceBlock source, out TOutput item) { throw null; } } public partial class DataflowBlockOptions { @@ -158,10 +158,10 @@ public DataflowLinkOptions() { } public int MaxMessages { get { throw null; } set { } } public bool PropagateCompletion { get { throw null; } set { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DataflowMessageHeader : System.IEquatable { - public DataflowMessageHeader(long id) { throw null;} + private readonly int _dummy; + public DataflowMessageHeader(long id) { throw null; } public long Id { get { throw null; } } public bool IsValid { get { throw null; } } public override bool Equals(object obj) { throw null; } @@ -226,12 +226,12 @@ public JoinBlock(System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions da public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - System.Tuple System.Threading.Tasks.Dataflow.ISourceBlock>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + System.Tuple System.Threading.Tasks.Dataflow.ISourceBlock>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock>.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock>.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate> filter, out System.Tuple item) { item = default(System.Tuple); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList> items) { items = default(System.Collections.Generic.IList>); throw null; } + public bool TryReceive(System.Predicate> filter, out System.Tuple item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList> items) { throw null; } } public sealed partial class JoinBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock>, System.Threading.Tasks.Dataflow.ISourceBlock> { @@ -245,12 +245,12 @@ public JoinBlock(System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions da public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - System.Tuple System.Threading.Tasks.Dataflow.ISourceBlock>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + System.Tuple System.Threading.Tasks.Dataflow.ISourceBlock>.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock>.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock>.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock> target) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate> filter, out System.Tuple item) { item = default(System.Tuple); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList> items) { items = default(System.Collections.Generic.IList>); throw null; } + public bool TryReceive(System.Predicate> filter, out System.Tuple item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList> items) { throw null; } } public sealed partial class TransformBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { @@ -264,13 +264,13 @@ public TransformBlock(System.Func transform, System.Threading.T public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - TOutput System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + TOutput System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, TInput messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate filter, out TOutput item) { item = default(TOutput); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } + public bool TryReceive(System.Predicate filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } } public sealed partial class TransformManyBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { @@ -284,13 +284,13 @@ public TransformManyBlock(System.Func target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - TOutput System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + TOutput System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, TInput messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate filter, out TOutput item) { item = default(TOutput); throw null; } - public bool TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } + public bool TryReceive(System.Predicate filter, out TOutput item) { throw null; } + public bool TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } } public sealed partial class WriteOnceBlock : System.Threading.Tasks.Dataflow.IDataflowBlock, System.Threading.Tasks.Dataflow.IPropagatorBlock, System.Threading.Tasks.Dataflow.IReceivableSourceBlock, System.Threading.Tasks.Dataflow.ISourceBlock, System.Threading.Tasks.Dataflow.ITargetBlock { @@ -300,12 +300,12 @@ public WriteOnceBlock(System.Func cloningFunction, System.Threading.Tasks. public void Complete() { } public System.IDisposable LinkTo(System.Threading.Tasks.Dataflow.ITargetBlock target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions) { throw null; } void System.Threading.Tasks.Dataflow.IDataflowBlock.Fault(System.Exception exception) { } - bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) { items = default(System.Collections.Generic.IList); throw null; } - T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { messageConsumed = default(bool); throw null; } + bool System.Threading.Tasks.Dataflow.IReceivableSourceBlock.TryReceiveAll(out System.Collections.Generic.IList items) { throw null; } + T System.Threading.Tasks.Dataflow.ISourceBlock.ConsumeMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target, out bool messageConsumed) { throw null; } void System.Threading.Tasks.Dataflow.ISourceBlock.ReleaseReservation(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { } bool System.Threading.Tasks.Dataflow.ISourceBlock.ReserveMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, System.Threading.Tasks.Dataflow.ITargetBlock target) { throw null; } System.Threading.Tasks.Dataflow.DataflowMessageStatus System.Threading.Tasks.Dataflow.ITargetBlock.OfferMessage(System.Threading.Tasks.Dataflow.DataflowMessageHeader messageHeader, T messageValue, System.Threading.Tasks.Dataflow.ISourceBlock source, bool consumeToAccept) { throw null; } public override string ToString() { throw null; } - public bool TryReceive(System.Predicate filter, out T item) { item = default(T); throw null; } + public bool TryReceive(System.Predicate filter, out T item) { throw null; } } } diff --git a/src/System.Threading.Tasks.Extensions/ref/System.Threading.Tasks.Extensions.cs b/src/System.Threading.Tasks.Extensions/ref/System.Threading.Tasks.Extensions.cs index f1f8d25368c1..2b8bd30e9166 100644 --- a/src/System.Threading.Tasks.Extensions/ref/System.Threading.Tasks.Extensions.cs +++ b/src/System.Threading.Tasks.Extensions/ref/System.Threading.Tasks.Extensions.cs @@ -15,6 +15,7 @@ public AsyncMethodBuilderAttribute(System.Type builderType) { } } public partial struct AsyncValueTaskMethodBuilder { + private TResult _result; public System.Threading.Tasks.ValueTask Task { get { throw null; } } public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } @@ -24,20 +25,22 @@ public void SetResult(TResult result) { } public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } } - public partial struct ConfiguredValueTaskAwaitable + public readonly partial struct ConfiguredValueTaskAwaitable { + private readonly object _dummy; public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; } public partial struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { + private object _dummy; public bool IsCompleted { get { throw null; } } public TResult GetResult() { throw null; } public void OnCompleted(System.Action continuation) { } public void UnsafeOnCompleted(System.Action continuation) { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion { + private object _dummy; public bool IsCompleted { get { throw null; } } public TResult GetResult() { throw null; } public void OnCompleted(System.Action continuation) { } @@ -47,10 +50,11 @@ public void UnsafeOnCompleted(System.Action continuation) { } namespace System.Threading.Tasks { [System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>))] - public partial struct ValueTask : System.IEquatable> + public readonly partial struct ValueTask : System.IEquatable> { - public ValueTask(System.Threading.Tasks.Task task) { throw null;} - public ValueTask(TResult result) { throw null;} + internal readonly TResult _result; + public ValueTask(System.Threading.Tasks.Task task) { throw null; } + public ValueTask(TResult result) { throw null; } public bool IsCanceled { get { throw null; } } public bool IsCompleted { get { throw null; } } public bool IsCompletedSuccessfully { get { throw null; } } diff --git a/src/System.Threading.Tasks.Parallel/ref/System.Threading.Tasks.Parallel.cs b/src/System.Threading.Tasks.Parallel/ref/System.Threading.Tasks.Parallel.cs index 9ede5d209f4b..1bec429b48df 100644 --- a/src/System.Threading.Tasks.Parallel/ref/System.Threading.Tasks.Parallel.cs +++ b/src/System.Threading.Tasks.Parallel/ref/System.Threading.Tasks.Parallel.cs @@ -5,7 +5,6 @@ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ - namespace System.Threading.Tasks { public static partial class Parallel @@ -18,10 +17,6 @@ public static partial class Parallel public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Action body) { throw null; } public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action body) { throw null; } public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action body) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.OrderablePartitioner source, System.Action body) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.OrderablePartitioner source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action body) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.Partitioner source, System.Action body) { throw null; } @@ -38,16 +33,20 @@ public static partial class Parallel public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.OrderablePartitioner source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.Partitioner source, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Concurrent.Partitioner source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } - public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult ForEach(System.Collections.Generic.IEnumerable source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult For(int fromInclusive, int toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } + public static System.Threading.Tasks.ParallelLoopResult For(long fromInclusive, long toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Func localInit, System.Func body, System.Action localFinally) { throw null; } public static void Invoke(params System.Action[] actions) { } public static void Invoke(System.Threading.Tasks.ParallelOptions parallelOptions, params System.Action[] actions) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ParallelLoopResult { + private int _dummy; public bool IsCompleted { get { throw null; } } public System.Nullable LowestBreakIteration { get { throw null; } } } diff --git a/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs b/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs index 48cf5dbff7fe..91dda148e380 100644 --- a/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs +++ b/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs @@ -43,9 +43,9 @@ protected OperationCanceledException(System.Runtime.Serialization.SerializationI } namespace System.Runtime.CompilerServices { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct AsyncTaskMethodBuilder { + private object _dummy; public System.Threading.Tasks.Task Task { get { throw null; } } public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } @@ -55,9 +55,9 @@ public void SetResult() { } public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct AsyncTaskMethodBuilder { + private System.Threading.Tasks.Task _dummy; public System.Threading.Tasks.Task Task { get { throw null; } } public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } @@ -67,9 +67,9 @@ public void SetResult(TResult result) { } public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { } public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct AsyncVoidMethodBuilder { + private object _dummy; public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { } public static System.Runtime.CompilerServices.AsyncVoidMethodBuilder Create() { throw null; } diff --git a/src/System.Threading/ref/System.Threading.cs b/src/System.Threading/ref/System.Threading.cs index 56d5e6695cce..0a9263b007ac 100644 --- a/src/System.Threading/ref/System.Threading.cs +++ b/src/System.Threading/ref/System.Threading.cs @@ -22,6 +22,7 @@ protected AbandonedMutexException(System.Runtime.Serialization.SerializationInfo } public partial struct AsyncFlowControl : System.IDisposable { + private object _dummy; public void Dispose() { } public override bool Equals(object obj) { throw null; } public bool Equals(System.Threading.AsyncFlowControl obj) { throw null; } @@ -36,9 +37,9 @@ public AsyncLocal() { } public AsyncLocal(System.Action> valueChangedHandler) { } public T Value { get { throw null; } set { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct AsyncLocalValueChangedArgs { + private T _dummy; public T CurrentValue { get { throw null; } } public T PreviousValue { get { throw null; } } public bool ThreadContextChanged { get { throw null; } } @@ -179,6 +180,7 @@ public static partial class LazyInitializer } public partial struct LockCookie { + private int _dummy; public override bool Equals(object obj) { throw null; } public bool Equals(System.Threading.LockCookie obj) { throw null; } public override int GetHashCode() { throw null; } @@ -340,9 +342,9 @@ public void Wait(System.Threading.CancellationToken cancellationToken) { } public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw null; } } public delegate void SendOrPostCallback(object state); - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SpinLock { + private int _dummy; public SpinLock(bool enableThreadOwnerTracking) { throw null; } public bool IsHeld { get { throw null; } } public bool IsHeldByCurrentThread { get { throw null; } } @@ -354,9 +356,9 @@ public void TryEnter(ref bool lockTaken) { } public void TryEnter(int millisecondsTimeout, ref bool lockTaken) { } public void TryEnter(System.TimeSpan timeout, ref bool lockTaken) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct SpinWait { + private int _dummy; public int Count { get { throw null; } } public bool NextSpinWillYield { get { throw null; } } public void Reset() { } diff --git a/src/System.Transactions.Local/ref/System.Transactions.cs b/src/System.Transactions.Local/ref/System.Transactions.Local.cs similarity index 99% rename from src/System.Transactions.Local/ref/System.Transactions.cs rename to src/System.Transactions.Local/ref/System.Transactions.Local.cs index 5493389df87b..b20f61936824 100644 --- a/src/System.Transactions.Local/ref/System.Transactions.cs +++ b/src/System.Transactions.Local/ref/System.Transactions.Local.cs @@ -200,9 +200,9 @@ protected TransactionManagerCommunicationException(System.Runtime.Serialization. public TransactionManagerCommunicationException(string message) { } public TransactionManagerCommunicationException(string message, System.Exception innerException) { } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct TransactionOptions { + private int _dummy; public System.Transactions.IsolationLevel IsolationLevel { get { throw null; } set { } } public System.TimeSpan Timeout { get { throw null; } set { } } public override bool Equals(object obj) { throw null; } diff --git a/src/System.Transactions.Local/ref/System.Transactions.Local.csproj b/src/System.Transactions.Local/ref/System.Transactions.Local.csproj index 806d00bca01e..9dc52333d856 100644 --- a/src/System.Transactions.Local/ref/System.Transactions.Local.csproj +++ b/src/System.Transactions.Local/ref/System.Transactions.Local.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/System.Xml.XmlSerializer/ref/System.Xml.XmlSerializer.cs b/src/System.Xml.XmlSerializer/ref/System.Xml.XmlSerializer.cs index cf5b8e49c28a..104b78a53dab 100644 --- a/src/System.Xml.XmlSerializer/ref/System.Xml.XmlSerializer.cs +++ b/src/System.Xml.XmlSerializer/ref/System.Xml.XmlSerializer.cs @@ -251,9 +251,9 @@ public XmlChoiceIdentifierAttribute() { } public XmlChoiceIdentifierAttribute(string name) { } public string MemberName { get { throw null; } set { } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct XmlDeserializationEvents { + private object _dummy; public System.Xml.Serialization.XmlAttributeEventHandler OnUnknownAttribute { get { throw null; } set { } } public System.Xml.Serialization.XmlElementEventHandler OnUnknownElement { get { throw null; } set { } } public System.Xml.Serialization.XmlNodeEventHandler OnUnknownNode { get { throw null; } set { } } diff --git a/tools-local/DefaultGenApiDocIds.txt b/tools-local/DefaultGenApiDocIds.txt index 68c0689cb7d4..8432a7b546a7 100644 --- a/tools-local/DefaultGenApiDocIds.txt +++ b/tools-local/DefaultGenApiDocIds.txt @@ -6,6 +6,7 @@ T:System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute T:System.ComponentModel.EditorAttribute T:System.ComponentModel.TypeConverterAttribute T:System.Configuration.ConfigurationPropertyAttribute +T:System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute T:System.Diagnostics.DebuggerBrowsableAttribute T:System.Diagnostics.DebuggerDisplayAttribute