Skip to content

Commit 6b11ee0

Browse files
committed
Regenerate stubs
1 parent 877fd18 commit 6b11ee0

File tree

171 files changed

+1170
-1292
lines changed

Some content is hidden

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

171 files changed

+1170
-1292
lines changed

csharp/ql/test/resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public class JsonSerializer
563563
public T Deserialize<T>(Newtonsoft.Json.JsonReader reader) => throw null;
564564
public object Deserialize(Newtonsoft.Json.JsonReader reader, System.Type objectType) => throw null;
565565
public virtual System.Collections.IEqualityComparer EqualityComparer { get => throw null; set { } }
566-
public virtual event System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs> Error { add { } remove { } }
566+
public virtual event System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs> Error { }
567567
public virtual Newtonsoft.Json.FloatFormatHandling FloatFormatHandling { get => throw null; set { } }
568568
public virtual Newtonsoft.Json.FloatParseHandling FloatParseHandling { get => throw null; set { } }
569569
public virtual Newtonsoft.Json.Formatting Formatting { get => throw null; set { } }
@@ -803,7 +803,7 @@ public class JsonValidatingReader : Newtonsoft.Json.JsonReader, Newtonsoft.Json.
803803
public Newtonsoft.Json.JsonReader Reader { get => throw null; }
804804
public Newtonsoft.Json.Schema.JsonSchema Schema { get => throw null; set { } }
805805
public override Newtonsoft.Json.JsonToken TokenType { get => throw null; }
806-
public event Newtonsoft.Json.Schema.ValidationEventHandler ValidationEventHandler { add { } remove { } }
806+
public event Newtonsoft.Json.Schema.ValidationEventHandler ValidationEventHandler { }
807807
public override object Value { get => throw null; }
808808
public override System.Type ValueType { get => throw null; }
809809
}
@@ -998,7 +998,7 @@ public interface IJEnumerable<T> : System.Collections.Generic.IEnumerable<T>, Sy
998998
{
999999
Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> this[object key] { get; }
10001000
}
1001-
public class JArray : Newtonsoft.Json.Linq.JContainer, System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable
1001+
public class JArray : Newtonsoft.Json.Linq.JContainer, System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable, System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>
10021002
{
10031003
public void Add(Newtonsoft.Json.Linq.JToken item) => throw null;
10041004
protected override System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> ChildrenTokens { get => throw null; }
@@ -1047,14 +1047,14 @@ public class JConstructor : Newtonsoft.Json.Linq.JContainer
10471047
public override void WriteTo(Newtonsoft.Json.JsonWriter writer, params Newtonsoft.Json.JsonConverter[] converters) => throw null;
10481048
public override System.Threading.Tasks.Task WriteToAsync(Newtonsoft.Json.JsonWriter writer, System.Threading.CancellationToken cancellationToken, params Newtonsoft.Json.JsonConverter[] converters) => throw null;
10491049
}
1050-
public abstract class JContainer : Newtonsoft.Json.Linq.JToken, System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable, System.ComponentModel.ITypedList, System.ComponentModel.IBindingList, System.Collections.ICollection, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged
1050+
public abstract class JContainer : Newtonsoft.Json.Linq.JToken, System.ComponentModel.IBindingList, System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>, System.Collections.ICollection, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable, System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.ITypedList
10511051
{
10521052
public virtual void Add(object content) => throw null;
10531053
void System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.Add(Newtonsoft.Json.Linq.JToken item) => throw null;
10541054
int System.Collections.IList.Add(object value) => throw null;
10551055
public void AddFirst(object content) => throw null;
10561056
void System.ComponentModel.IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor property) => throw null;
1057-
public event System.ComponentModel.AddingNewEventHandler AddingNew { add { } remove { } }
1057+
public event System.ComponentModel.AddingNewEventHandler AddingNew { }
10581058
object System.ComponentModel.IBindingList.AddNew() => throw null;
10591059
bool System.ComponentModel.IBindingList.AllowEdit { get => throw null; }
10601060
bool System.ComponentModel.IBindingList.AllowNew { get => throw null; }
@@ -1064,7 +1064,7 @@ public event System.ComponentModel.AddingNewEventHandler AddingNew { add { } rem
10641064
protected abstract System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> ChildrenTokens { get; }
10651065
void System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.Clear() => throw null;
10661066
void System.Collections.IList.Clear() => throw null;
1067-
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged { add { } remove { } }
1067+
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged { }
10681068
bool System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.Contains(Newtonsoft.Json.Linq.JToken item) => throw null;
10691069
bool System.Collections.IList.Contains(object value) => throw null;
10701070
void System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.CopyTo(Newtonsoft.Json.Linq.JToken[] array, int arrayIndex) => throw null;
@@ -1090,7 +1090,7 @@ public event System.Collections.Specialized.NotifyCollectionChangedEventHandler
10901090
Newtonsoft.Json.Linq.JToken System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>.this[int index] { get => throw null; set { } }
10911091
object System.Collections.IList.this[int index] { get => throw null; set { } }
10921092
public override Newtonsoft.Json.Linq.JToken Last { get => throw null; }
1093-
public event System.ComponentModel.ListChangedEventHandler ListChanged { add { } remove { } }
1093+
public event System.ComponentModel.ListChangedEventHandler ListChanged { }
10941094
public void Merge(object content) => throw null;
10951095
public void Merge(object content, Newtonsoft.Json.Linq.JsonMergeSettings settings) => throw null;
10961096
protected virtual void OnAddingNew(System.ComponentModel.AddingNewEventArgs e) => throw null;
@@ -1112,7 +1112,7 @@ public event System.ComponentModel.ListChangedEventHandler ListChanged { add { }
11121112
object System.Collections.ICollection.SyncRoot { get => throw null; }
11131113
public override System.Collections.Generic.IEnumerable<T> Values<T>() => throw null;
11141114
}
1115-
public struct JEnumerable<T> : Newtonsoft.Json.Linq.IJEnumerable<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable, System.IEquatable<Newtonsoft.Json.Linq.JEnumerable<T>> where T : Newtonsoft.Json.Linq.JToken
1115+
public struct JEnumerable<T> : System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable, System.IEquatable<Newtonsoft.Json.Linq.JEnumerable<T>>, Newtonsoft.Json.Linq.IJEnumerable<T> where T : Newtonsoft.Json.Linq.JToken
11161116
{
11171117
public JEnumerable(System.Collections.Generic.IEnumerable<T> enumerable) => throw null;
11181118
public static Newtonsoft.Json.Linq.JEnumerable<T> Empty;
@@ -1123,7 +1123,7 @@ public struct JEnumerable<T> : Newtonsoft.Json.Linq.IJEnumerable<T>, System.Coll
11231123
public override int GetHashCode() => throw null;
11241124
public Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> this[object key] { get => throw null; }
11251125
}
1126-
public class JObject : Newtonsoft.Json.Linq.JContainer, System.Collections.Generic.IDictionary<string, Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>, System.Collections.IEnumerable, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.INotifyPropertyChanging
1126+
public class JObject : Newtonsoft.Json.Linq.JContainer, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>, System.ComponentModel.ICustomTypeDescriptor, System.Collections.Generic.IDictionary<string, Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>, System.Collections.IEnumerable, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging
11271127
{
11281128
public void Add(string propertyName, Newtonsoft.Json.Linq.JToken value) => throw null;
11291129
void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>.Add(System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken> item) => throw null;
@@ -1167,8 +1167,8 @@ public class JObject : Newtonsoft.Json.Linq.JContainer, System.Collections.Gener
11671167
public System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JProperty> Properties() => throw null;
11681168
public Newtonsoft.Json.Linq.JProperty Property(string name) => throw null;
11691169
public Newtonsoft.Json.Linq.JProperty Property(string name, System.StringComparison comparison) => throw null;
1170-
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged { add { } remove { } }
1171-
public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging { add { } remove { } }
1170+
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged { }
1171+
public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging { }
11721172
public Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken> PropertyValues() => throw null;
11731173
public bool Remove(string propertyName) => throw null;
11741174
bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken>>.Remove(System.Collections.Generic.KeyValuePair<string, Newtonsoft.Json.Linq.JToken> item) => throw null;
@@ -1242,7 +1242,7 @@ public class JsonSelectSettings
12421242
public bool ErrorWhenNoMatch { get => throw null; set { } }
12431243
public System.TimeSpan? RegexMatchTimeout { get => throw null; set { } }
12441244
}
1245-
public abstract class JToken : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable, Newtonsoft.Json.IJsonLineInfo, System.ICloneable, System.Dynamic.IDynamicMetaObjectProvider
1245+
public abstract class JToken : System.ICloneable, System.Dynamic.IDynamicMetaObjectProvider, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.IEnumerable, Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken>, Newtonsoft.Json.IJsonLineInfo
12461246
{
12471247
public void AddAfterSelf(object content) => throw null;
12481248
public void AddAnnotation(object annotation) => throw null;
@@ -1464,7 +1464,7 @@ public class JTokenWriter : Newtonsoft.Json.JsonWriter
14641464
public override void WriteValue(System.Guid value) => throw null;
14651465
public override void WriteValue(System.Uri value) => throw null;
14661466
}
1467-
public class JValue : Newtonsoft.Json.Linq.JToken, System.IEquatable<Newtonsoft.Json.Linq.JValue>, System.IFormattable, System.IComparable, System.IComparable<Newtonsoft.Json.Linq.JValue>, System.IConvertible
1467+
public class JValue : Newtonsoft.Json.Linq.JToken, System.IComparable, System.IComparable<Newtonsoft.Json.Linq.JValue>, System.IConvertible, System.IEquatable<Newtonsoft.Json.Linq.JValue>, System.IFormattable
14681468
{
14691469
int System.IComparable.CompareTo(object obj) => throw null;
14701470
public int CompareTo(Newtonsoft.Json.Linq.JValue obj) => throw null;

csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Abstractions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public interface IAuthenticationService
172172
System.Threading.Tasks.Task SignInAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
173173
System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
174174
}
175-
public interface IAuthenticationSignInHandler : Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler, Microsoft.AspNetCore.Authentication.IAuthenticationHandler
175+
public interface IAuthenticationSignInHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler
176176
{
177177
System.Threading.Tasks.Task SignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
178178
}

csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authentication.Cookies.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ public class ChunkingCookieManager : Microsoft.AspNetCore.Authentication.Cookies
1313
public void AppendResponseCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options) => throw null;
1414
public int? ChunkSize { get => throw null; set { } }
1515
public ChunkingCookieManager() => throw null;
16-
public static int DefaultChunkSize;
16+
public const int DefaultChunkSize = default;
1717
public void DeleteCookie(Microsoft.AspNetCore.Http.HttpContext context, string key, Microsoft.AspNetCore.Http.CookieOptions options) => throw null;
1818
public string GetRequestCookie(Microsoft.AspNetCore.Http.HttpContext context, string key) => throw null;
1919
public bool ThrowForPartialCookies { get => throw null; set { } }
2020
}
2121
public static class CookieAuthenticationDefaults
2222
{
2323
public static Microsoft.AspNetCore.Http.PathString AccessDeniedPath;
24-
public static string AuthenticationScheme;
24+
public const string AuthenticationScheme = default;
2525
public static string CookiePrefix;
2626
public static Microsoft.AspNetCore.Http.PathString LoginPath;
2727
public static Microsoft.AspNetCore.Http.PathString LogoutPath;

0 commit comments

Comments
 (0)