Skip to content

Commit c7f5de8

Browse files
committed
C#: Update .NET and ASP.NET framework stubs.
1 parent 8d2ac48 commit c7f5de8

File tree

241 files changed

+4821
-506
lines changed

Some content is hidden

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

241 files changed

+4821
-506
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Antiforgery, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Antiforgery, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore
@@ -13,6 +13,7 @@ public class AntiforgeryOptions
1313
public static readonly string DefaultCookiePrefix;
1414
public string FormFieldName { get => throw null; set { } }
1515
public string HeaderName { get => throw null; set { } }
16+
public bool SuppressReadingTokenFromFormBody { get => throw null; set { } }
1617
public bool SuppressXFrameOptionsHeader { get => throw null; set { } }
1718
}
1819
public class AntiforgeryTokenSet

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
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication.BearerToken, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication.BearerToken, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication.Cookies, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication.Cookies, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication.OAuth, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication.OAuth, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore
@@ -134,6 +134,7 @@ public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticat
134134
}
135135
public class OAuthOptions : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions
136136
{
137+
public System.Collections.Generic.IDictionary<string, string> AdditionalAuthorizationParameters { get => throw null; }
137138
public string AuthorizationEndpoint { get => throw null; set { } }
138139
public Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection ClaimActions { get => throw null; }
139140
public string ClientId { get => throw null; set { } }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authentication, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authentication, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Authorization.Policy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authorization.Policy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authorization.Policy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Authorization, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Authorization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore

csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Components.Authorization.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file contains auto-generated code.
2-
// Generated from `Microsoft.AspNetCore.Components.Authorization, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
2+
// Generated from `Microsoft.AspNetCore.Components.Authorization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
33
namespace Microsoft
44
{
55
namespace AspNetCore
@@ -14,6 +14,13 @@ public class AuthenticationState
1414
public System.Security.Claims.ClaimsPrincipal User { get => throw null; }
1515
}
1616
public delegate void AuthenticationStateChangedHandler(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> task);
17+
public class AuthenticationStateData
18+
{
19+
public System.Collections.Generic.IList<Microsoft.AspNetCore.Components.Authorization.ClaimData> Claims { get => throw null; set { } }
20+
public AuthenticationStateData() => throw null;
21+
public string NameClaimType { get => throw null; set { } }
22+
public string RoleClaimType { get => throw null; set { } }
23+
}
1724
public abstract class AuthenticationStateProvider
1825
{
1926
public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged;
@@ -56,6 +63,13 @@ public class CascadingAuthenticationState : Microsoft.AspNetCore.Components.Comp
5663
void System.IDisposable.Dispose() => throw null;
5764
protected override void OnInitialized() => throw null;
5865
}
66+
public struct ClaimData
67+
{
68+
public ClaimData(string type, string value) => throw null;
69+
public ClaimData(System.Security.Claims.Claim claim) => throw null;
70+
public string Type { get => throw null; }
71+
public string Value { get => throw null; }
72+
}
5973
public interface IHostEnvironmentAuthenticationStateProvider
6074
{
6175
void SetAuthenticationState(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> authenticationStateTask);

0 commit comments

Comments
 (0)