File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/LoreSoft.Blazor.Controls/Utilities
test/LoreSoft.Blazor.Controls.Tests Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11using System . Collections . Concurrent ;
22
3- namespace LoreSoft . Blazor . Controls . Utilities ;
3+ namespace LoreSoft . Blazor . Controls ;
44
55/// <summary>
66/// A lightweight in-process message service that uses weak references to prevent memory leaks.
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ public void Random_MultipleInvocations_ReturnsDifferentIds()
5454 [ InlineData ( null ) ]
5555 [ InlineData ( "" ) ]
5656 [ InlineData ( " " ) ]
57- public void Random_NullOrWhiteSpacePrefix_ThrowsArgumentException ( string prefix )
57+ public void Random_NullOrWhiteSpacePrefix_ThrowsArgumentException ( string ? prefix )
5858 {
5959 // Act & Assert
60- Assert . ThrowsAny < ArgumentException > ( ( ) => Identifier . Random ( prefix ) ) ;
60+ Assert . ThrowsAny < ArgumentException > ( ( ) => Identifier . Random ( prefix ! ) ) ;
6161 }
6262
6363 [ Fact ]
@@ -113,10 +113,10 @@ public void Sequential_MultipleInvocations_ReturnsSequentialIds()
113113 [ InlineData ( null ) ]
114114 [ InlineData ( "" ) ]
115115 [ InlineData ( " " ) ]
116- public void Sequential_NullOrWhiteSpacePrefix_ThrowsArgumentException ( string prefix )
116+ public void Sequential_NullOrWhiteSpacePrefix_ThrowsArgumentException ( string ? prefix )
117117 {
118118 // Act & Assert
119- Assert . ThrowsAny < ArgumentException > ( ( ) => Identifier . Sequential ( prefix ) ) ;
119+ Assert . ThrowsAny < ArgumentException > ( ( ) => Identifier . Sequential ( prefix ! ) ) ;
120120 }
121121
122122 [ Fact ]
You can’t perform that action at this time.
0 commit comments