Skip to content

Commit 4b4d31d

Browse files
committed
Make private field readonly
1 parent 4cbd66d commit 4b4d31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.OpenApi.Services
1414
/// </summary>
1515
public class OpenApiWorkspace
1616
{
17-
private Dictionary<Uri, OpenApiDocument> _documents = new();
17+
private readonly Dictionary<Uri, OpenApiDocument> _documents = new();
1818
private readonly Dictionary<string, Uri> _documentsIdRegistry = new();
1919
private readonly Dictionary<Uri, Stream> _artifactsRegistry = new();
2020
private readonly Dictionary<Uri, IOpenApiReferenceable> _IOpenApiReferenceableRegistry = new();

0 commit comments

Comments
 (0)