Conflict in rules

Rules SA1215 and SA1204 are conflicting on the following code: // The underlying memory cache private MemoryCache _memoryCache = null; // The interned object cache item policy private static reado...

Id #7639 | Release: None | Updated: Wed at 8:29 PM by MarioMajcica | Created: Wed at 8:29 PM by MarioMajcica

Allow me to disable r# plugin by default

If I do not have a settings file in my solution, assume I do not want stylecop running in the ReSharper plugin and leave everything alone. I contribute to many open source projects where I do not...

Id #7638 | Release: None | Updated: Wed at 10:53 AM by JakeGinnivan | Created: Wed at 10:53 AM by JakeGinnivan

Warning SA1001 on array definition

When declaring an array property like this: public byte[, ,] Data { get; set; } I get a SA1001 warning. To prevent the warning I have to remove the space between the commas. Personally I don...

Id #7637 | Release: None | Updated: Apr 14 at 5:17 AM by rold2007 | Created: Apr 14 at 5:17 AM by rold2007

The file attribute in the file heade's copyright tag does not support files like name.foo.bar

I have a file named personacardview.htm.cs and the file content is: / --------------------------------------------------------------------------- // <copyright file="PersonaCardView.htm.cs" compa...

Id #7636 | Release: None | Updated: Apr 11 at 9:12 PM by gusan | Created: Apr 11 at 9:12 PM by gusan

Custom dictionary file relative path does not work with solution-wide settings file

We have a pretty large solution with lots of projects, and we want to keep one single custom dictionary file shared among all these projects (and of course in both code analysys and StyleCop). We a...

Id #7635 | Release: None | Updated: Apr 8 at 3:56 PM by mmihaly | Created: Apr 8 at 3:56 PM by mmihaly

StyleCop settings in R# options looks ugly on hi-res display

StyleCop settings form looks ugly on retina display (see attached screenshot)

Id #7634 | Release: None | Updated: Apr 8 at 6:18 PM by alemiks | Created: Apr 8 at 3:42 PM by alemiks

Using a variable named group can cause crash

I found a crash that manifest when using a linq expression and has a variable named group (that is being cast to an int). Using 4.7.49.0 Just paste the following code and check, the method nam...

Id #7633 | Release: None | Updated: Apr 8 at 11:35 AM by Sheffer | Created: Apr 8 at 11:35 AM by Sheffer

Specify non-standard file header text

For the SA1633FileMustHaveHeaderBulbItem class, can there be an option to specify the file header text from an external file as opposed from the static field StandardHeader.

Id #7632 | Release: None | Updated: Mar 31 at 1:26 PM by andyd70 | Created: Mar 31 at 1:23 PM by andyd70

SA1115 does not accept multiple parameters on one line

Hi, when using SA1115 with multiple parameters on one line, StyleCop reports an false positive: private void MyFunction(int parameter1, int parameter2, int parameter3) { } From the docs: A par...

Id #7631 | Release: None | Updated: Mar 31 at 9:39 AM by Dresel | Created: Mar 31 at 9:38 AM by Dresel

Incorrect notification of SA1126 : CSharp.Readability

I don't think this code: private class MockUnitOfWork : TestUnitOfWork<InfrastructureConnector> { public readonly TestDbSet<SystemDates> dates; public MockUnitOfWork() { this.dates = new Test...

Id #7630 | Release: None | Updated: Mar 27 at 11:30 PM by qujck | Created: Mar 27 at 11:30 PM by qujck