Top "Stylecop" questions

StyleCop analyzes C# source code to enforce a set of style and consistency rules.

Passing in an anonymous delegate to a thread...why does this work?

In my program, we split up a large amount of data that needs to be looked over across four threads. …

c# .net multithreading stylecop anonymous-delegates
How do I suppress StyleCop warning SA1403?

Consider this code, which is contained within a single file: namespace Foo { public partial class One { } } namespace Baa { public partial …

c# stylecop
C# StyleCop - Using "this." prefix for base class members like current class members or not?

StyleCop has a rule about using "this." prefix to calling class members (SA1101). Is this rule holds true about a …

c# coding-style this stylecop
CodeMaid vs Stylecop usings organisation

I am using StyleCop for a quite a while (and I am used to it). Friend of mine recommended me …

c# stylecop
StyleCop SA1124 DoNotUseRegions is reasonable?

SA1124 DoNotUseRegions suggest that region should not be used anywhere. Is it really reasonable? I think region is a way …

c# stylecop