Skip to main content

RCS1205: Order named arguments according to the order of parameters

Properties

PropertyValue
Default SeverityInfo
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))
{
}

Applies to