Skip to content

Commit 8f5fc47

Browse files
committed
Fix IDE0044 "Make field readonly" and move the readonly field to avoid SA1214 "Readonly fields should appear before non-readonly fields"
1 parent 6924ea8 commit 8f5fc47

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Source/HttpMultipartParser/StreamingMultipartFormDataParser.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ public class StreamingMultipartFormDataParser
5959

6060
#region Fields
6161

62+
/// <summary>
63+
/// List of mimetypes that should be detected as file.
64+
/// </summary>
65+
private readonly string[] binaryMimeTypes = { "application/octet-stream" };
66+
6267
/// <summary>
6368
/// The stream we are parsing.
6469
/// </summary>
@@ -92,11 +97,6 @@ public class StreamingMultipartFormDataParser
9297
/// </summary>
9398
private bool readEndBoundary;
9499

95-
/// <summary>
96-
/// List of mimetypes that should be detected as file.
97-
/// </summary>
98-
private string[] binaryMimeTypes = { "application/octet-stream" };
99-
100100
#endregion
101101

102102
#region Constructors and Destructors

0 commit comments

Comments
 (0)