The static keyword should be right after access modifier (#8506)

This commit is contained in:
Dongbo Wang
2018-12-21 11:56:05 +05:00
committed by Ilya
parent ff227729d3
commit 2fbda4e62b
14 changed files with 27 additions and 27 deletions
@@ -14,14 +14,14 @@ namespace System.Management.Automation.Internal
// Default option for local file system enumeration:
// - Ignore files/directories when access is denied;
// - Search top directory only.
private readonly static System.IO.EnumerationOptions s_defaultEnumerationOptions =
private static readonly System.IO.EnumerationOptions s_defaultEnumerationOptions =
new System.IO.EnumerationOptions() { AttributesToSkip = 0 };
// Default option for UNC path enumeration. Same as above plus a large buffer size.
// For network shares, a large buffer may result in better performance as more results can be batched over the wire.
// The buffer size 16K is recommended in the comment of the 'BufferSize' property:
// "A "large" buffer, for example, would be 16K. Typical is 4K."
private readonly static System.IO.EnumerationOptions s_uncPathEnumerationOptions =
private static readonly System.IO.EnumerationOptions s_uncPathEnumerationOptions =
new System.IO.EnumerationOptions() { AttributesToSkip = 0, BufferSize = 16384 };
/// <summary>