Reporter | Berryl.Hesh (Berryl.Hesh) |
---|---|
Created | Jan 6, 2012 2:52:25 AM |
Updated | Jan 6, 2012 2:53:04 AM |
Priority | Normal |
Type | Unspecified |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
When R# formats a method with multiple attributes in a single line (see below) it puts in an extra line. The only C# option I see for attributes and methods is to place it on the same line, which isn't what I want.
Has anyone seen this one before? Got a fix?
Cheers,
Berryl
** the way it should be **
[TestCase(101, 99, 200), TestCase(101, -99, 2)]
public void Plus_WithWholeAmounts(decimal lhs, decimal rhs, decimal result)
{
// doStuff
}
** after R# reformats (unwanted line after attributes) **
[TestCase(101, 99, 200), TestCase(101, -99, 2)]
public void Plus_WithWholeAmounts(decimal lhs, decimal rhs, decimal result)
{
// doStuff
}
Has anyone seen this one before? Got a fix?
Cheers,
Berryl
** the way it should be **
[TestCase(101, 99, 200), TestCase(101, -99, 2)]
public void Plus_WithWholeAmounts(decimal lhs, decimal rhs, decimal result)
{
// doStuff
}
** after R# reformats (unwanted line after attributes) **
[TestCase(101, 99, 200), TestCase(101, -99, 2)]
public void Plus_WithWholeAmounts(decimal lhs, decimal rhs, decimal result)
{
// doStuff
}