Skip to content

Commit 95a440f

Browse files
Update .NET SDK to 10.0.100-alpha.1.25056.1 (dotnet#59729)
* Update .NET SDK Update .NET SDK to version 10.0.100-alpha.1.25056.1. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Remove unused members --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mackinnon Buck <[email protected]>
1 parent cfc9870 commit 95a440f

File tree

10 files changed

+33
-51
lines changed

10 files changed

+33
-51
lines changed

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "10.0.100-alpha.1.24616.1"
3+
"version": "10.0.100-alpha.1.25056.1"
44
},
55
"tools": {
6-
"dotnet": "10.0.100-alpha.1.24616.1",
6+
"dotnet": "10.0.100-alpha.1.25056.1",
77
"runtimes": {
88
"dotnet/x86": [
99
"$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"

src/Components/Components/src/RouteView.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ static RouteView()
2828
}
2929
}
3030

31-
[Inject]
32-
private NavigationManager NavigationManager { get; set; }
33-
3431
/// <summary>
3532
/// Gets or sets the route data. This determines the page that will be
3633
/// displayed and the parameter values that will be supplied to the page.

src/Components/Forms/src/EditContextDataAnnotationsExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ public static IDisposable EnableDataAnnotationsValidation(this EditContext editC
5252

5353
private static event Action? OnClearCache;
5454

55+
#pragma warning disable IDE0051 // Remove unused private members
5556
private static void ClearCache(Type[]? _)
5657
{
5758
OnClearCache?.Invoke();
5859
}
60+
#pragma warning restore IDE0051 // Remove unused private members
5961

6062
private sealed class DataAnnotationsEventSubscriptions : IDisposable
6163
{

src/DataProtection/DataProtection/src/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfiguration.cs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -77,34 +77,4 @@ void IInternalAlgorithmConfiguration.Validate()
7777
using var encryptor = factory.CreateAuthenticatedEncryptorInstance(secret, this);
7878
encryptor.PerformSelfTest();
7979
}
80-
81-
// Any changes to this method should also be be reflected
82-
// in ManagedAuthenticatedEncryptorDescriptorDeserializer.FriendlyNameToType.
83-
private static string TypeToFriendlyName(Type type)
84-
{
85-
if (type == typeof(Aes))
86-
{
87-
return nameof(Aes);
88-
}
89-
else if (type == typeof(HMACSHA1))
90-
{
91-
return nameof(HMACSHA1);
92-
}
93-
else if (type == typeof(HMACSHA256))
94-
{
95-
return nameof(HMACSHA256);
96-
}
97-
else if (type == typeof(HMACSHA384))
98-
{
99-
return nameof(HMACSHA384);
100-
}
101-
else if (type == typeof(HMACSHA512))
102-
{
103-
return nameof(HMACSHA512);
104-
}
105-
else
106-
{
107-
return type.AssemblyQualifiedName!;
108-
}
109-
}
11080
}

src/Http/Http.Abstractions/src/Routing/RouteValueDictionary.cs

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ public RouteValueDictionary(RouteValueDictionary? dictionary)
208208
_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
209209
}
210210
}
211-
#endif
212211

213212
[MemberNotNull(nameof(_arrayStorage))]
214213
private void Initialize(IEnumerable<KeyValuePair<string, string?>> stringValueEnumerable)
@@ -221,21 +220,9 @@ private void Initialize(IEnumerable<KeyValuePair<string, string?>> stringValueEn
221220
}
222221
}
223222

224-
[MemberNotNull(nameof(_arrayStorage))]
225-
private void Initialize(IEnumerable<KeyValuePair<string, object?>> keyValueEnumerable)
226-
{
227-
_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
228-
229-
foreach (var kvp in keyValueEnumerable)
230-
{
231-
Add(kvp.Key, kvp.Value);
232-
}
233-
}
234-
235223
[MemberNotNull(nameof(_arrayStorage))]
236224
private void Initialize(RouteValueDictionary dictionary)
237225
{
238-
#if !COMPONENTS
239226
if (dictionary._propertyStorage != null)
240227
{
241228
// PropertyStorage is immutable so we can just copy it.
@@ -244,7 +231,6 @@ private void Initialize(RouteValueDictionary dictionary)
244231
_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
245232
return;
246233
}
247-
#endif
248234

249235
var count = dictionary._count;
250236
if (count > 0)
@@ -260,6 +246,18 @@ private void Initialize(RouteValueDictionary dictionary)
260246
_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
261247
}
262248
}
249+
#endif
250+
251+
[MemberNotNull(nameof(_arrayStorage))]
252+
private void Initialize(IEnumerable<KeyValuePair<string, object?>> keyValueEnumerable)
253+
{
254+
_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
255+
256+
foreach (var kvp in keyValueEnumerable)
257+
{
258+
Add(kvp.Key, kvp.Value);
259+
}
260+
}
263261

264262
/// <inheritdoc />
265263
public object? this[string key]

src/Http/startvscode.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@ECHO OFF
2+
3+
%~dp0..\..\startvscode.cmd %~dp0

src/Http/startvscode.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
repo_root="$DIR/../.."
5+
"$repo_root/startvscode.sh" $DIR

src/Servers/Kestrel/Core/src/Internal/Infrastructure/TransportManager.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
1111

1212
internal sealed class TransportManager
1313
{
14-
private readonly List<ActiveTransport> _transports = new List<ActiveTransport>();
14+
private readonly List<ActiveTransport> _transports = [];
1515

1616
private readonly List<IConnectionListenerFactory> _transportFactories;
1717
private readonly List<IMultiplexedConnectionListenerFactory> _multiplexedTransportFactories;
@@ -30,7 +30,6 @@ public TransportManager(
3030
_serviceContext = serviceContext;
3131
}
3232

33-
private ConnectionManager ConnectionManager => _serviceContext.ConnectionManager;
3433
private KestrelTrace Trace => _serviceContext.Log;
3534

3635
public async Task<EndPoint> BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig? endpointConfig, CancellationToken cancellationToken)

src/Servers/Kestrel/startvscode.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@ECHO OFF
2+
3+
%~dp0..\..\..\startvscode.cmd %~dp0

src/Servers/Kestrel/startvscode.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
repo_root="$DIR/../../.."
5+
"$repo_root/startvscode.sh" $DIR

0 commit comments

Comments
 (0)