mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-01 23:23:29 +02:00
Convert collection into a new list before enumerating (#331)
This commit is contained in:
@@ -39,7 +39,7 @@ namespace WireMock.Server
|
|||||||
{
|
{
|
||||||
var results = new Dictionary<LogEntry, RequestMatchResult>();
|
var results = new Dictionary<LogEntry, RequestMatchResult>();
|
||||||
|
|
||||||
foreach (var log in _options.LogEntries)
|
foreach (var log in _options.LogEntries.ToList())
|
||||||
{
|
{
|
||||||
var requestMatchResult = new RequestMatchResult();
|
var requestMatchResult = new RequestMatchResult();
|
||||||
foreach (var matcher in matchers)
|
foreach (var matcher in matchers)
|
||||||
|
|||||||
Reference in New Issue
Block a user