Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2012 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2869227 to your computer and use it in GitHub Desktop.
Save anonymous/2869227 to your computer and use it in GitHub Desktop.
// <Name>Methods name should begin with an Upper character</Name>
warnif count > 0 from m in JustMyCode.Methods where
!m.NameLike (@"^[A-Z]") &&
!m.IsSpecialName &&
!m.IsGeneratedByCompiler
select m
// The name of a regular method should
// begin with an Upper letter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment