File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/Devlead.Testing.MockHttp Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ out var response
5050 return GetResponseBuilder ;
5151 }
5252
53- private static ImmutableArray < Route > ? _routes ;
54-
5553 private static ImmutableDictionary < (
5654 HttpMethod Method ,
5755 string AbsoluteUri
@@ -75,7 +73,7 @@ static ImmutableArray<Route> GetRoutes()
7573 {
7674 lock ( _lock )
7775 {
78- return _routes ??= ImmutableArray . Create ( System . Text . Json . JsonSerializer . Deserialize < Route [ ] > ( Resources < T > . GetString ( "Routes.json" ) ?? throw new ArgumentNullException ( "routesJson" ) ) ?? throw new ArgumentNullException ( "routes" ) ) ;
76+ return ImmutableArray . Create ( System . Text . Json . JsonSerializer . Deserialize < Route [ ] > ( Resources < T > . GetString ( "Routes.json" ) ?? throw new ArgumentNullException ( "routesJson" ) ) ?? throw new ArgumentNullException ( "routes" ) ) ;
7977 }
8078 }
8179
You can’t perform that action at this time.
0 commit comments