RCS1205: Order named arguments according to the order of parameters
Properties
Property | Value |
---|---|
Default Severity | Info |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
using (var sm = new StreamReader(
stream: default(Stream),
encoding: Encoding.UTF8,
bufferSize: 0,
leaveOpen: false,
detectEncodingFromByteOrderMarks: true))
{
}
fix.cs
using (var sm = new StreamReader(
stream: default(Stream),
encoding: Encoding.UTF8,
detectEncodingFromByteOrderMarks: true,
bufferSize: 0,
leaveOpen: false))
{
}