Click here to Skip to main content
16,014,952 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionCMS Advanced Electronic Signatures (cryptography) Pin
Member 32072423-Aug-10 3:25
Member 32072423-Aug-10 3:25 
QuestionStylecop burst my bubble Pin
hammerstein053-Aug-10 1:07
hammerstein053-Aug-10 1:07 
AnswerRe: Stylecop burst my bubble Pin
DaveyM693-Aug-10 1:53
professionalDaveyM693-Aug-10 1:53 
GeneralRe: Stylecop burst my bubble Pin
Mike Poz4-Aug-10 7:43
Mike Poz4-Aug-10 7:43 
GeneralRe: Stylecop burst my bubble Pin
Chris Trelawny-Ross9-Aug-10 9:02
Chris Trelawny-Ross9-Aug-10 9:02 
GeneralRe: Stylecop burst my bubble Pin
Scott Dorman3-Sep-10 15:49
professionalScott Dorman3-Sep-10 15:49 
AnswerRe: Stylecop burst my bubble Pin
Ennis Ray Lynch, Jr.3-Aug-10 10:30
Ennis Ray Lynch, Jr.3-Aug-10 10:30 
AnswerRe: Stylecop burst my bubble Pin
Scott Dorman3-Sep-10 15:55
professionalScott Dorman3-Sep-10 15:55 
You can selectively enable/disable most of the rules but there isn't a way to edit a rule. Putting using statements inside the namespace is recommended for the following reasons:

From http://www.thewayithink.co.uk/stylecop/sa1200.htm[^]

There are subtle differences between placing using directives within a namespace element, rather than outside of the namespace, including:

1. Placing using-alias directives within the namespace eliminates compiler confusion between conflicting types.

2. When multiple namespaces are defined within a single file, placing using directives within the namespace elements scopes references and aliases.

The spacing reccomendations are most likely due to screen space concerns. Anyway, the code you show would look like this to meet the StyleCop settings:

if (value < maximumValue)
{
}

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

QuestionTransfer big DataTable over WCF Pin
devvvy1-Aug-10 16:00
devvvy1-Aug-10 16:00 
AnswerRe: Transfer big DataTable over WCF Pin
PIEBALDconsult2-Aug-10 3:37
mvePIEBALDconsult2-Aug-10 3:37 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy2-Aug-10 15:46
devvvy2-Aug-10 15:46 
AnswerRe: Transfer big DataTable over WCF Pin
Pete O'Hanlon2-Aug-10 4:18
mvePete O'Hanlon2-Aug-10 4:18 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy2-Aug-10 15:40
devvvy2-Aug-10 15:40 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak2-Aug-10 18:08
mveDave Kreskowiak2-Aug-10 18:08 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy2-Aug-10 19:48
devvvy2-Aug-10 19:48 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak3-Aug-10 1:57
mveDave Kreskowiak3-Aug-10 1:57 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy3-Aug-10 13:34
devvvy3-Aug-10 13:34 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak4-Aug-10 2:11
mveDave Kreskowiak4-Aug-10 2:11 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy4-Aug-10 14:03
devvvy4-Aug-10 14:03 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak4-Aug-10 15:07
mveDave Kreskowiak4-Aug-10 15:07 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy4-Aug-10 20:31
devvvy4-Aug-10 20:31 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak5-Aug-10 1:53
mveDave Kreskowiak5-Aug-10 1:53 
GeneralRe: Transfer big DataTable over WCF Pin
Dave Kreskowiak3-Aug-10 1:59
mveDave Kreskowiak3-Aug-10 1:59 
GeneralRe: Transfer big DataTable over WCF Pin
Pete O'Hanlon3-Aug-10 2:36
mvePete O'Hanlon3-Aug-10 2:36 
GeneralRe: Transfer big DataTable over WCF Pin
devvvy3-Aug-10 13:59
devvvy3-Aug-10 13:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.