mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-14 12:54:00 +01:00
Convert collection into a new list before enumerating (#331)
This commit is contained in:
1 parent
19ee3c6681
commit
fc64c5f925
1 file changed
+1
-1
@@ -39,7 +39,7 @@ namespace WireMock.Server
|
||||
{
|
||||
var results = new Dictionary<LogEntry, RequestMatchResult>();
|
||||
|
||||
foreach (var log in _options.LogEntries)
|
||||
foreach (var log in _options.LogEntries.ToList())
|
||||
{
|
||||
var requestMatchResult = new RequestMatchResult();
|
||||
foreach (var matcher in matchers)
|
||||
|
||||
Reference in new issue
Block a user