Skip to content

Commit af12aff

Browse files
committed
C#: Re-generate stubs to update comments.
1 parent 24fa2be commit af12aff

File tree

235 files changed

+235
-6455
lines changed

Some content is hidden

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

235 files changed

+235
-6455
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// This file contains auto-generated code.
2+
// Generated from `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
23

34
namespace Microsoft
45
{
56
namespace AspNetCore
67
{
78
namespace Antiforgery
89
{
9-
// Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
1010
public class AntiforgeryOptions
1111
{
1212
public AntiforgeryOptions() => throw null;
@@ -17,7 +17,6 @@ public class AntiforgeryOptions
1717
public bool SuppressXFrameOptionsHeader { get => throw null; set => throw null; }
1818
}
1919

20-
// Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
2120
public class AntiforgeryTokenSet
2221
{
2322
public AntiforgeryTokenSet(string requestToken, string cookieToken, string formFieldName, string headerName) => throw null;
@@ -27,14 +26,12 @@ public class AntiforgeryTokenSet
2726
public string RequestToken { get => throw null; }
2827
}
2928

30-
// Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
3129
public class AntiforgeryValidationException : System.Exception
3230
{
3331
public AntiforgeryValidationException(string message) => throw null;
3432
public AntiforgeryValidationException(string message, System.Exception innerException) => throw null;
3533
}
3634

37-
// Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgery` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
3835
public interface IAntiforgery
3936
{
4037
Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext);
@@ -44,7 +41,6 @@ public interface IAntiforgery
4441
System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
4542
}
4643

47-
// Generated from `Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
4844
public interface IAntiforgeryAdditionalDataProvider
4945
{
5046
string GetAdditionalData(Microsoft.AspNetCore.Http.HttpContext context);
@@ -57,7 +53,6 @@ namespace Extensions
5753
{
5854
namespace DependencyInjection
5955
{
60-
// Generated from `Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions` in `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
6156
public static class AntiforgeryServiceCollectionExtensions
6257
{
6358
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null;

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

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// This file contains auto-generated code.
2+
// Generated from `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.
23

34
namespace Microsoft
45
{
56
namespace AspNetCore
67
{
78
namespace Authentication
89
{
9-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticateResult` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
1010
public class AuthenticateResult
1111
{
1212
protected AuthenticateResult() => throw null;
@@ -25,7 +25,6 @@ public class AuthenticateResult
2525
public Microsoft.AspNetCore.Authentication.AuthenticationTicket Ticket { get => throw null; set => throw null; }
2626
}
2727

28-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
2928
public static class AuthenticationHttpContextExtensions
3029
{
3130
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync(this Microsoft.AspNetCore.Http.HttpContext context) => throw null;
@@ -50,7 +49,6 @@ public static class AuthenticationHttpContextExtensions
5049
public static System.Threading.Tasks.Task SignOutAsync(this Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null;
5150
}
5251

53-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationOptions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
5452
public class AuthenticationOptions
5553
{
5654
public void AddScheme(string name, System.Action<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder> configureBuilder) => throw null;
@@ -67,7 +65,6 @@ public class AuthenticationOptions
6765
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder> Schemes { get => throw null; }
6866
}
6967

70-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationProperties` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
7168
public class AuthenticationProperties
7269
{
7370
public bool? AllowRefresh { get => throw null; set => throw null; }
@@ -91,7 +88,6 @@ public class AuthenticationProperties
9188
public void SetString(string key, string value) => throw null;
9289
}
9390

94-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationScheme` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
9591
public class AuthenticationScheme
9692
{
9793
public AuthenticationScheme(string name, string displayName, System.Type handlerType) => throw null;
@@ -100,7 +96,6 @@ public class AuthenticationScheme
10096
public string Name { get => throw null; }
10197
}
10298

103-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
10499
public class AuthenticationSchemeBuilder
105100
{
106101
public AuthenticationSchemeBuilder(string name) => throw null;
@@ -110,7 +105,6 @@ public class AuthenticationSchemeBuilder
110105
public string Name { get => throw null; }
111106
}
112107

113-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTicket` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
114108
public class AuthenticationTicket
115109
{
116110
public string AuthenticationScheme { get => throw null; }
@@ -121,15 +115,13 @@ public class AuthenticationTicket
121115
public Microsoft.AspNetCore.Authentication.AuthenticationProperties Properties { get => throw null; }
122116
}
123117

124-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationToken` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
125118
public class AuthenticationToken
126119
{
127120
public AuthenticationToken() => throw null;
128121
public string Name { get => throw null; set => throw null; }
129122
public string Value { get => throw null; set => throw null; }
130123
}
131124

132-
// Generated from `Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
133125
public static class AuthenticationTokenExtensions
134126
{
135127
public static System.Threading.Tasks.Task<string> GetTokenAsync(this Microsoft.AspNetCore.Authentication.IAuthenticationService auth, Microsoft.AspNetCore.Http.HttpContext context, string tokenName) => throw null;
@@ -140,26 +132,22 @@ public static class AuthenticationTokenExtensions
140132
public static bool UpdateTokenValue(this Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string tokenName, string tokenValue) => throw null;
141133
}
142134

143-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticateResultFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
144135
public interface IAuthenticateResultFeature
145136
{
146137
Microsoft.AspNetCore.Authentication.AuthenticateResult AuthenticateResult { get; set; }
147138
}
148139

149-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
150140
public interface IAuthenticationConfigurationProvider
151141
{
152142
Microsoft.Extensions.Configuration.IConfiguration AuthenticationConfiguration { get; }
153143
}
154144

155-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationFeature` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
156145
public interface IAuthenticationFeature
157146
{
158147
Microsoft.AspNetCore.Http.PathString OriginalPath { get; set; }
159148
Microsoft.AspNetCore.Http.PathString OriginalPathBase { get; set; }
160149
}
161150

162-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
163151
public interface IAuthenticationHandler
164152
{
165153
System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync();
@@ -168,19 +156,16 @@ public interface IAuthenticationHandler
168156
System.Threading.Tasks.Task InitializeAsync(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context);
169157
}
170158

171-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
172159
public interface IAuthenticationHandlerProvider
173160
{
174161
System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler> GetHandlerAsync(Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme);
175162
}
176163

177-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
178164
public interface IAuthenticationRequestHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler
179165
{
180166
System.Threading.Tasks.Task<bool> HandleRequestAsync();
181167
}
182168

183-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
184169
public interface IAuthenticationSchemeProvider
185170
{
186171
void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme);
@@ -196,7 +181,6 @@ public interface IAuthenticationSchemeProvider
196181
bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null;
197182
}
198183

199-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationService` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
200184
public interface IAuthenticationService
201185
{
202186
System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme);
@@ -206,19 +190,16 @@ public interface IAuthenticationService
206190
System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
207191
}
208192

209-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
210193
public interface IAuthenticationSignInHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler, Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler
211194
{
212195
System.Threading.Tasks.Task SignInAsync(System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
213196
}
214197

215-
// Generated from `Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
216198
public interface IAuthenticationSignOutHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler
217199
{
218200
System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
219201
}
220202

221-
// Generated from `Microsoft.AspNetCore.Authentication.IClaimsTransformation` in `Microsoft.AspNetCore.Authentication.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
222203
public interface IClaimsTransformation
223204
{
224205
System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal> TransformAsync(System.Security.Claims.ClaimsPrincipal principal);

0 commit comments

Comments
 (0)