1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
6 [assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
7 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
8 [assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
9 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
10 namespace Mono.Collections.Concurrent
11 {
12     public partial class ConcurrentOrderedList<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable
13     {
ConcurrentOrderedList()14         public ConcurrentOrderedList() { }
ConcurrentOrderedList(System.Collections.Generic.IEqualityComparer<T> comparer)15         public ConcurrentOrderedList(System.Collections.Generic.IEqualityComparer<T> comparer) { }
16         public System.Collections.Generic.IEqualityComparer<T> Comparer { get { throw null; } }
17         public int Count { get { throw null; } }
18         bool System.Collections.Generic.ICollection<T>.IsReadOnly { get { throw null; } }
Clear()19         public void Clear() { }
Contains(T data)20         public bool Contains(T data) { throw null; }
ContainsHash(int key)21         public bool ContainsHash(int key) { throw null; }
CopyTo(T[] array, int startIndex)22         public void CopyTo(T[] array, int startIndex) { }
Add(T item)23         void System.Collections.Generic.ICollection<T>.Add(T item) { }
Remove(T item)24         bool System.Collections.Generic.ICollection<T>.Remove(T item) { throw null; }
GetEnumerator()25         System.Collections.Generic.IEnumerator<T> System.Collections.Generic.IEnumerable<T>.GetEnumerator() { throw null; }
System.Collections.IEnumerable.GetEnumerator()26         System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
TryAdd(T data)27         public bool TryAdd(T data) { throw null; }
TryGetFromHash(int key, out T data)28         public bool TryGetFromHash(int key, out T data) { data = default(T); throw null; }
TryPop(out T data)29         public bool TryPop(out T data) { data = default(T); throw null; }
TryRemove(T data)30         public bool TryRemove(T data) { throw null; }
TryRemoveHash(int key, out T data)31         public bool TryRemoveHash(int key, out T data) { data = default(T); throw null; }
32     }
33     public partial class ConcurrentSkipList<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable
34     {
ConcurrentSkipList()35         public ConcurrentSkipList() { }
ConcurrentSkipList(System.Collections.Generic.IEqualityComparer<T> comparer)36         public ConcurrentSkipList(System.Collections.Generic.IEqualityComparer<T> comparer) { }
37         public int Count { get { throw null; } }
38         bool System.Collections.Generic.ICollection<T>.IsReadOnly { get { throw null; } }
Clear()39         public void Clear() { }
Contains(T value)40         public bool Contains(T value) { throw null; }
ContainsHash(int hash)41         public bool ContainsHash(int hash) { throw null; }
CopyTo(T[] array, int startIndex)42         public void CopyTo(T[] array, int startIndex) { }
Remove(T value)43         public bool Remove(T value) { throw null; }
Add(T item)44         void System.Collections.Generic.ICollection<T>.Add(T item) { }
GetEnumerator()45         System.Collections.Generic.IEnumerator<T> System.Collections.Generic.IEnumerable<T>.GetEnumerator() { throw null; }
System.Collections.IEnumerable.GetEnumerator()46         System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
ToArray()47         public T[] ToArray() { throw null; }
TryAdd(T value)48         public bool TryAdd(T value) { throw null; }
TryGetFromHash(int hash, out T value)49         public bool TryGetFromHash(int hash, out T value) { value = default(T); throw null; }
50     }
51 }
52 namespace Mono.Threading
53 {
54     public partial class AtomicBoolean
55     {
AtomicBoolean()56         public AtomicBoolean() { }
57         public bool Value { get { throw null; } set { } }
CompareAndExchange(bool expected, bool newVal)58         public bool CompareAndExchange(bool expected, bool newVal) { throw null; }
Equals(Mono.Threading.AtomicBoolean rhs)59         public bool Equals(Mono.Threading.AtomicBoolean rhs) { throw null; }
Equals(object rhs)60         public override bool Equals(object rhs) { throw null; }
Exchange(bool newVal)61         public bool Exchange(bool newVal) { throw null; }
FromValue(bool value)62         public static Mono.Threading.AtomicBoolean FromValue(bool value) { throw null; }
GetHashCode()63         public override int GetHashCode() { throw null; }
operator bool(Mono.Threading.AtomicBoolean rhs)64         public static explicit operator bool (Mono.Threading.AtomicBoolean rhs) { throw null; }
operator Mono.Threading.AtomicBoolean(bool rhs)65         public static implicit operator Mono.Threading.AtomicBoolean (bool rhs) { throw null; }
TryRelaxedSet()66         public bool TryRelaxedSet() { throw null; }
TrySet()67         public bool TrySet() { throw null; }
68     }
69     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
70     public partial struct AtomicBooleanValue
71     {
72         public bool Value { get { throw null; } set { } }
CompareAndExchangeMono.Threading.AtomicBooleanValue73         public bool CompareAndExchange(bool expected, bool newVal) { throw null; }
EqualsMono.Threading.AtomicBooleanValue74         public bool Equals(Mono.Threading.AtomicBooleanValue rhs) { throw null; }
EqualsMono.Threading.AtomicBooleanValue75         public override bool Equals(object rhs) { throw null; }
ExchangeMono.Threading.AtomicBooleanValue76         public bool Exchange(bool newVal) { throw null; }
FromValueMono.Threading.AtomicBooleanValue77         public static Mono.Threading.AtomicBooleanValue FromValue(bool value) { throw null; }
GetHashCodeMono.Threading.AtomicBooleanValue78         public override int GetHashCode() { throw null; }
operator boolMono.Threading.AtomicBooleanValue79         public static explicit operator bool (Mono.Threading.AtomicBooleanValue rhs) { throw null; }
operator Mono.Threading.AtomicBooleanValueMono.Threading.AtomicBooleanValue80         public static implicit operator Mono.Threading.AtomicBooleanValue (bool rhs) { throw null; }
TryRelaxedSetMono.Threading.AtomicBooleanValue81         public bool TryRelaxedSet() { throw null; }
TrySetMono.Threading.AtomicBooleanValue82         public bool TrySet() { throw null; }
83     }
84     public partial class CSnzi
85     {
CSnzi()86         public CSnzi() { }
Arrive()87         public Mono.Threading.CSnziNode Arrive() { throw null; }
Close()88         public bool Close() { throw null; }
Depart(Mono.Threading.CSnziNode node)89         public bool Depart(Mono.Threading.CSnziNode node) { throw null; }
Open()90         public void Open() { }
Query()91         public System.Tuple<bool, Mono.Threading.CSnziState> Query() { throw null; }
92     }
93     public abstract partial class CSnziNode
94     {
CSnziNode()95         protected CSnziNode() { }
96     }
97     public enum CSnziState
98     {
99         Closed = 1,
100         Open = 0,
101     }
102     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
103     public partial struct ReaderWriterLockSlimmer
104     {
EnterReadLockMono.Threading.ReaderWriterLockSlimmer105         public void EnterReadLock(ref bool taken) { }
EnterWriteLockMono.Threading.ReaderWriterLockSlimmer106         public void EnterWriteLock(ref bool taken) { }
ExitReadLockMono.Threading.ReaderWriterLockSlimmer107         public void ExitReadLock() { }
ExitWriteLockMono.Threading.ReaderWriterLockSlimmer108         public void ExitWriteLock() { }
TryEnterReadLockMono.Threading.ReaderWriterLockSlimmer109         public void TryEnterReadLock(ref bool taken) { }
TryEnterWriteLockMono.Threading.ReaderWriterLockSlimmer110         public void TryEnterWriteLock(ref bool taken) { }
111     }
112     public partial class Snzi
113     {
Snzi()114         public Snzi() { }
115         public bool IsSet { get { throw null; } }
Decrement()116         public void Decrement() { }
Increment()117         public void Increment() { }
Reset()118         public void Reset() { }
119     }
120     public partial class SpinLockWrapper
121     {
122         public System.Threading.SpinLock Lock;
SpinLockWrapper()123         public SpinLockWrapper() { }
SpinLockWrapper(bool enableTracking)124         public SpinLockWrapper(bool enableTracking) { }
125     }
126 }
127 namespace Mono.Threading.Tasks
128 {
129     public partial class CyclicDeque<T> : Mono.Threading.Tasks.IConcurrentDeque<T>
130     {
CyclicDeque()131         public CyclicDeque() { }
132         public bool IsEmpty { get { throw null; } }
GetEnumerable()133         public System.Collections.Generic.IEnumerable<T> GetEnumerable() { throw null; }
PeekBottom(out T obj)134         public bool PeekBottom(out T obj) { obj = default(T); throw null; }
PopBottom(out T obj)135         public Mono.Threading.Tasks.PopResult PopBottom(out T obj) { obj = default(T); throw null; }
PopTop(out T obj)136         public Mono.Threading.Tasks.PopResult PopTop(out T obj) { obj = default(T); throw null; }
PushBottom(T obj)137         public void PushBottom(T obj) { }
138     }
139     public partial interface IConcurrentDeque<T>
140     {
GetEnumerable()141         System.Collections.Generic.IEnumerable<T> GetEnumerable();
PopBottom(out T obj)142         Mono.Threading.Tasks.PopResult PopBottom(out T obj);
PopTop(out T obj)143         Mono.Threading.Tasks.PopResult PopTop(out T obj);
PushBottom(T obj)144         void PushBottom(T obj);
145     }
146     public enum PopResult
147     {
148         Abort = 2,
149         Empty = 1,
150         Succeed = 0,
151     }
152 }
153