Skip to content

Commit c3996b0

Browse files
committed
C#: Update the Microsoft.NETCore.App stub
1 parent 6d9cea9 commit c3996b0

File tree

100 files changed

+10871
-10871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+10871
-10871
lines changed

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.CSharp.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,19 @@ public enum CSharpBinderFlags
6060
// Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderException` in `Microsoft.CSharp, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
6161
public class RuntimeBinderException : System.Exception
6262
{
63-
public RuntimeBinderException(string message, System.Exception innerException) => throw null;
64-
public RuntimeBinderException(string message) => throw null;
6563
public RuntimeBinderException() => throw null;
6664
protected RuntimeBinderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
65+
public RuntimeBinderException(string message) => throw null;
66+
public RuntimeBinderException(string message, System.Exception innerException) => throw null;
6767
}
6868

6969
// Generated from `Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException` in `Microsoft.CSharp, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
7070
public class RuntimeBinderInternalCompilerException : System.Exception
7171
{
72-
public RuntimeBinderInternalCompilerException(string message, System.Exception innerException) => throw null;
73-
public RuntimeBinderInternalCompilerException(string message) => throw null;
7472
public RuntimeBinderInternalCompilerException() => throw null;
7573
protected RuntimeBinderInternalCompilerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
74+
public RuntimeBinderInternalCompilerException(string message) => throw null;
75+
public RuntimeBinderInternalCompilerException(string message, System.Exception innerException) => throw null;
7676
}
7777

7878
}

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.VisualBasic.Core.cs

Lines changed: 178 additions & 178 deletions
Large diffs are not rendered by default.

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.Win32.Primitives.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ public class Win32Exception : System.Runtime.InteropServices.ExternalException,
1010
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
1111
public int NativeErrorCode { get => throw null; }
1212
public override string ToString() => throw null;
13-
public Win32Exception(string message, System.Exception innerException) => throw null;
14-
public Win32Exception(string message) => throw null;
15-
public Win32Exception(int error, string message) => throw null;
16-
public Win32Exception(int error) => throw null;
1713
public Win32Exception() => throw null;
1814
protected Win32Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null;
15+
public Win32Exception(int error) => throw null;
16+
public Win32Exception(int error, string message) => throw null;
17+
public Win32Exception(string message) => throw null;
18+
public Win32Exception(string message, System.Exception innerException) => throw null;
1919
}
2020

2121
}

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Concurrent.cs

Lines changed: 58 additions & 58 deletions
Large diffs are not rendered by default.

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.Immutable.cs

Lines changed: 381 additions & 381 deletions
Large diffs are not rendered by default.

csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Collections.NonGeneric.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ namespace Collections
77
// Generated from `System.Collections.CaseInsensitiveComparer` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
88
public class CaseInsensitiveComparer : System.Collections.IComparer
99
{
10-
public CaseInsensitiveComparer(System.Globalization.CultureInfo culture) => throw null;
1110
public CaseInsensitiveComparer() => throw null;
11+
public CaseInsensitiveComparer(System.Globalization.CultureInfo culture) => throw null;
1212
public int Compare(object a, object b) => throw null;
1313
public static System.Collections.CaseInsensitiveComparer Default { get => throw null; }
1414
public static System.Collections.CaseInsensitiveComparer DefaultInvariant { get => throw null; }
@@ -17,21 +17,21 @@ public class CaseInsensitiveComparer : System.Collections.IComparer
1717
// Generated from `System.Collections.CaseInsensitiveHashCodeProvider` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
1818
public class CaseInsensitiveHashCodeProvider : System.Collections.IHashCodeProvider
1919
{
20-
public CaseInsensitiveHashCodeProvider(System.Globalization.CultureInfo culture) => throw null;
2120
public CaseInsensitiveHashCodeProvider() => throw null;
21+
public CaseInsensitiveHashCodeProvider(System.Globalization.CultureInfo culture) => throw null;
2222
public static System.Collections.CaseInsensitiveHashCodeProvider Default { get => throw null; }
2323
public static System.Collections.CaseInsensitiveHashCodeProvider DefaultInvariant { get => throw null; }
2424
public int GetHashCode(object obj) => throw null;
2525
}
2626

2727
// Generated from `System.Collections.CollectionBase` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
28-
public abstract class CollectionBase : System.Collections.IList, System.Collections.IEnumerable, System.Collections.ICollection
28+
public abstract class CollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
2929
{
3030
int System.Collections.IList.Add(object value) => throw null;
3131
public int Capacity { get => throw null; set => throw null; }
3232
public void Clear() => throw null;
33-
protected CollectionBase(int capacity) => throw null;
3433
protected CollectionBase() => throw null;
34+
protected CollectionBase(int capacity) => throw null;
3535
bool System.Collections.IList.Contains(object value) => throw null;
3636
void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null;
3737
public int Count { get => throw null; }
@@ -59,7 +59,7 @@ public abstract class CollectionBase : System.Collections.IList, System.Collecti
5959
}
6060

6161
// Generated from `System.Collections.DictionaryBase` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
62-
public abstract class DictionaryBase : System.Collections.IEnumerable, System.Collections.IDictionary, System.Collections.ICollection
62+
public abstract class DictionaryBase : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable
6363
{
6464
void System.Collections.IDictionary.Add(object key, object value) => throw null;
6565
public void Clear() => throw null;
@@ -92,7 +92,7 @@ public abstract class DictionaryBase : System.Collections.IEnumerable, System.Co
9292
}
9393

9494
// Generated from `System.Collections.Queue` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
95-
public class Queue : System.ICloneable, System.Collections.IEnumerable, System.Collections.ICollection
95+
public class Queue : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable
9696
{
9797
public virtual void Clear() => throw null;
9898
public virtual object Clone() => throw null;
@@ -104,18 +104,18 @@ public class Queue : System.ICloneable, System.Collections.IEnumerable, System.C
104104
public virtual System.Collections.IEnumerator GetEnumerator() => throw null;
105105
public virtual bool IsSynchronized { get => throw null; }
106106
public virtual object Peek() => throw null;
107-
public Queue(int capacity, float growFactor) => throw null;
108-
public Queue(int capacity) => throw null;
109-
public Queue(System.Collections.ICollection col) => throw null;
110107
public Queue() => throw null;
108+
public Queue(System.Collections.ICollection col) => throw null;
109+
public Queue(int capacity) => throw null;
110+
public Queue(int capacity, float growFactor) => throw null;
111111
public virtual object SyncRoot { get => throw null; }
112112
public static System.Collections.Queue Synchronized(System.Collections.Queue queue) => throw null;
113113
public virtual object[] ToArray() => throw null;
114114
public virtual void TrimToSize() => throw null;
115115
}
116116

117117
// Generated from `System.Collections.ReadOnlyCollectionBase` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
118-
public abstract class ReadOnlyCollectionBase : System.Collections.IEnumerable, System.Collections.ICollection
118+
public abstract class ReadOnlyCollectionBase : System.Collections.ICollection, System.Collections.IEnumerable
119119
{
120120
void System.Collections.ICollection.CopyTo(System.Array array, int index) => throw null;
121121
public virtual int Count { get => throw null; }
@@ -127,7 +127,7 @@ public abstract class ReadOnlyCollectionBase : System.Collections.IEnumerable, S
127127
}
128128

129129
// Generated from `System.Collections.SortedList` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
130-
public class SortedList : System.ICloneable, System.Collections.IEnumerable, System.Collections.IDictionary, System.Collections.ICollection
130+
public class SortedList : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable
131131
{
132132
public virtual void Add(object key, object value) => throw null;
133133
public virtual int Capacity { get => throw null; set => throw null; }
@@ -154,20 +154,20 @@ public class SortedList : System.ICloneable, System.Collections.IEnumerable, Sys
154154
public virtual void Remove(object key) => throw null;
155155
public virtual void RemoveAt(int index) => throw null;
156156
public virtual void SetByIndex(int index, object value) => throw null;
157-
public SortedList(int initialCapacity) => throw null;
158-
public SortedList(System.Collections.IDictionary d, System.Collections.IComparer comparer) => throw null;
159-
public SortedList(System.Collections.IDictionary d) => throw null;
160-
public SortedList(System.Collections.IComparer comparer, int capacity) => throw null;
161-
public SortedList(System.Collections.IComparer comparer) => throw null;
162157
public SortedList() => throw null;
158+
public SortedList(System.Collections.IComparer comparer) => throw null;
159+
public SortedList(System.Collections.IComparer comparer, int capacity) => throw null;
160+
public SortedList(System.Collections.IDictionary d) => throw null;
161+
public SortedList(System.Collections.IDictionary d, System.Collections.IComparer comparer) => throw null;
162+
public SortedList(int initialCapacity) => throw null;
163163
public virtual object SyncRoot { get => throw null; }
164164
public static System.Collections.SortedList Synchronized(System.Collections.SortedList list) => throw null;
165165
public virtual void TrimToSize() => throw null;
166166
public virtual System.Collections.ICollection Values { get => throw null; }
167167
}
168168

169169
// Generated from `System.Collections.Stack` in `System.Collections.NonGeneric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
170-
public class Stack : System.ICloneable, System.Collections.IEnumerable, System.Collections.ICollection
170+
public class Stack : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable
171171
{
172172
public virtual void Clear() => throw null;
173173
public virtual object Clone() => throw null;
@@ -179,9 +179,9 @@ public class Stack : System.ICloneable, System.Collections.IEnumerable, System.C
179179
public virtual object Peek() => throw null;
180180
public virtual object Pop() => throw null;
181181
public virtual void Push(object obj) => throw null;
182-
public Stack(int initialCapacity) => throw null;
183-
public Stack(System.Collections.ICollection col) => throw null;
184182
public Stack() => throw null;
183+
public Stack(System.Collections.ICollection col) => throw null;
184+
public Stack(int initialCapacity) => throw null;
185185
public virtual object SyncRoot { get => throw null; }
186186
public static System.Collections.Stack Synchronized(System.Collections.Stack stack) => throw null;
187187
public virtual object[] ToArray() => throw null;
@@ -193,9 +193,9 @@ namespace Specialized
193193
public class CollectionsUtil
194194
{
195195
public CollectionsUtil() => throw null;
196-
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable(int capacity) => throw null;
197-
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable(System.Collections.IDictionary d) => throw null;
198196
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable() => throw null;
197+
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable(System.Collections.IDictionary d) => throw null;
198+
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable(int capacity) => throw null;
199199
public static System.Collections.SortedList CreateCaseInsensitiveSortedList() => throw null;
200200
}
201201

0 commit comments

Comments
 (0)