File tree Expand file tree Collapse file tree 6 files changed +285
-294
lines changed
src/Components/Web/src/Forms Expand file tree Collapse file tree 6 files changed +285
-294
lines changed Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 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)"
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"
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments