Skip to content

Commit fc6e3fb

Browse files
[main] Source code updates from dotnet/dotnet (#64941)
[main] Source code updates from dotnet/dotnet
1 parent 1998be8 commit fc6e3fb

File tree

6 files changed

+285
-294
lines changed

6 files changed

+285
-294
lines changed

eng/Version.Details.props

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

eng/Version.Details.xml

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

global.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"sdk": {
3-
"version": "10.0.100",
3+
"version": "11.0.100-alpha.1.25618.104",
44
"paths": [
55
".dotnet",
66
"$host$"
77
],
88
"errorMessage": "The .NET SDK could not be found, run ./restore.cmd or ./restore.sh first."
99
},
1010
"tools": {
11-
"dotnet": "10.0.100",
11+
"dotnet": "11.0.100-alpha.1.25618.104",
1212
"runtimes": {
1313
"dotnet/x86": [
1414
"$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
@@ -32,9 +32,9 @@
3232
"jdk": "latest"
3333
},
3434
"msbuild-sdks": {
35-
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.25619.109",
36-
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.25619.109",
37-
"Microsoft.DotNet.SharedFramework.Sdk": "11.0.0-beta.25619.109",
35+
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26055.102",
36+
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.26055.102",
37+
"Microsoft.DotNet.SharedFramework.Sdk": "11.0.0-beta.26055.102",
3838
"Microsoft.Build.NoTargets": "3.7.0",
3939
"Microsoft.Build.Traversal": "3.4.0",
4040
"Microsoft.WixToolset.Sdk": "5.0.2-dotnet.2811440"

src/Components/Web/src/Forms/InputBase.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,7 @@ protected virtual void Dispose(bool disposing)
369369
void IDisposable.Dispose()
370370
{
371371
// When initialization in the SetParametersAsync method fails, the EditContext property can remain equal to null
372-
if (EditContext is not null)
373-
{
374-
EditContext.OnValidationStateChanged -= _validationStateChangedHandler;
375-
}
372+
EditContext?.OnValidationStateChanged -= _validationStateChangedHandler;
376373

377374
// Clear parsing validation messages store owned by the input when the input is disposed.
378375
if (_parsingValidationMessages != null)

src/Components/Web/src/Forms/ValidationMessage.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ void IDisposable.Dispose()
9494

9595
private void DetachValidationStateChangedListener()
9696
{
97-
if (_previousEditContext != null)
98-
{
99-
_previousEditContext.OnValidationStateChanged -= _validationStateChangedHandler;
100-
}
97+
_previousEditContext?.OnValidationStateChanged -= _validationStateChangedHandler;
10198
}
10299
}

src/Components/Web/src/Forms/ValidationSummary.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ void IDisposable.Dispose()
103103

104104
private void DetachValidationStateChangedListener()
105105
{
106-
if (_previousEditContext != null)
107-
{
108-
_previousEditContext.OnValidationStateChanged -= _validationStateChangedHandler;
109-
}
106+
_previousEditContext?.OnValidationStateChanged -= _validationStateChangedHandler;
110107
}
111108
}

0 commit comments

Comments
 (0)