CA1500 vs. SA1309 - Which one wins?
I'll prefix by saying that I understand that both Code Analysis and StyleCop are meant as guidelines, and many people chose to ignore these anyway. But having said that, I'd like to see what the general consensus is with regard to these two rules. Rule CA1500 says don't make parameter names and private field names the same. Rule SA1309 , on the other hand, says don't prefix members with underscore or "m_". This leaves us with little options for distinguishing private backing fields from their corresponding parameters. Take these examples. SA1309 complains: class SomeClass { int _someField;