Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for local functions #2371

Closed
34 tasks
sharwell opened this issue May 30, 2017 · 0 comments
Closed
34 tasks

Add tests for local functions #2371

sharwell opened this issue May 30, 2017 · 0 comments

Comments

@sharwell
Copy link
Member

Tests for local functions (a new C# 7 feature) should be added for the following rules:

  • SA1001 CommasMustBeSpacedCorrectly
  • SA1008 OpeningParenthesisMustBeSpacedCorrectly
  • SA1009 ClosingParenthesisMustBeSpacedCorrectly
  • SA1012 OpeningBracesMustBeSpacedCorrectly
  • SA1013 ClosingBracesMustBeSpacedCorrectly
  • SA1014 OpeningGenericBracketsMustBeSpacedCorrectly
  • SA1015 ClosingGenericBracketsMustBeSpacedCorrectly
  • SA1024 ColonsMustBeSpacedCorrectly
  • SA1101 PrefixLocalCallsWithThis
  • SA1110 OpeningParenthesisMustBeOnDeclarationLine
  • SA1111 ClosingParenthesisMustBeOnLineOfLastParameter
  • SA1112 ClosingParenthesisMustBeOnLineOfOpeningParenthesis
  • SA1113 CommaMustBeOnSameLineAsPreviousParameter
  • SA1114 ParameterListMustFollowDeclaration
  • SA1115 ParameterMustFollowComma
  • SA1116 SplitParametersMustStartOnLineAfterDeclaration
  • SA1117 ParametersMustBeOnSameLineOrSeparateLines
  • SA1118 ParameterMustNotSpanMultipleLines
  • SA1126 PrefixCallsCorrectly
  • SA1127 GenericTypeConstraintsMustBeOnOwnLine
  • SA1300 ElementMustBeginWithUpperCaseLetter
  • SA1312 VariableNamesMustBeginWithLowerCaseLetter
  • SA1313 ParameterNamesMustBeginWithLowerCaseLetter
  • SA1314 TypeParameterNamesMustBeginWithT
  • SA1400 AccessModifierMustBeDeclared
  • SA1500 BracesForMultiLineStatementsMustNotShareLine
  • SA1501 StatementMustNotBeOnSingleLine
  • SA1502 ElementMustNotBeOnSingleLine
  • SA1503 BracesMustNotBeOmitted
  • SA1505 OpeningBracesMustNotBeFollowedByBlankLine
  • SA1508 ClosingBracesMustNotBePrecededByBlankLine
  • SA1509 OpeningBracesMustNotBePrecededByBlankLine
  • SA1513 ClosingBraceMustBeFollowedByBlankLine
  • SA1516 ElementsMustBeSeparatedByBlankLine
@sharwell sharwell changed the title Add layout tests for local functions Add tests for local functions May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant