Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Disable StyleCop for Specs

  • Loading branch information...
commit 4c71875f018fe7a462bdebe37cc7065d60e1859c 1 parent 5b645de
Howard van Rooijen authored January 05, 2011
19  Solutions/YouTrackSharp.Specs/Helpers/AuthenticatedYouTrackConnectionForIssueSpecsSetup.cs
... ...
@@ -1,15 +1,26 @@
1  
-using Machine.Specifications;
2  
-using YouTrackSharp.Issues;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
3 7
 
4 8
 namespace YouTrackSharp.Specs.Helpers
5 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using Machine.Specifications;
  13
+    using YouTrackSharp.Issues;
  14
+
  15
+    #endregion
  16
+
6 17
     public class AuthenticatedYouTrackConnectionForIssueSpecsSetup : AuthenticatedYouTrackConnectionSetup
7 18
     {
  19
+        protected static IssueManagement issueManagement;
  20
+        
8 21
         Establish context = () =>
9 22
         {
10 23
             issueManagement = new IssueManagement(connection);
11 24
         };
12  
-
13  
-        protected static IssueManagement issueManagement;
14 25
     }
15 26
 }
20  Solutions/YouTrackSharp.Specs/Helpers/AuthenticatedYouTrackConnectionForProjectSpecsSetup.cs
... ...
@@ -1,16 +1,26 @@
1  
-using Machine.Specifications;
2  
-using YouTrackSharp.Issues;
3  
-using YouTrackSharp.Projects;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
4 7
 
5 8
 namespace YouTrackSharp.Specs.Helpers
6 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using Machine.Specifications;
  13
+    using YouTrackSharp.Projects;
  14
+
  15
+    #endregion
  16
+
7 17
     public class AuthenticatedYouTrackConnectionForProjectSpecsSetup : AuthenticatedYouTrackConnectionSetup
8 18
     {
  19
+        protected static ProjectManagement projectManagement;
  20
+        
9 21
         Establish context = () =>
10 22
         {
11 23
             projectManagement = new ProjectManagement(connection);
12 24
         };
13  
-
14  
-        protected static ProjectManagement projectManagement;
15 25
     }
16 26
 }
10  Solutions/YouTrackSharp.Specs/Helpers/AuthenticatedYouTrackConnectionSetup.cs
... ...
@@ -1,13 +1,19 @@
1  
-using Machine.Specifications;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
2 7
 
3 8
 namespace YouTrackSharp.Specs.Helpers
4 9
 {
  10
+    using Machine.Specifications;
  11
+
5 12
     public class AuthenticatedYouTrackConnectionSetup : YouTrackConnectionSetup
6 13
     {
7 14
         Establish context = () =>
8 15
         {
9 16
             connection.Authenticate("youtrackapi", "youtrackapi");
10 17
         };
11  
-
12 18
     }
13 19
 }
19  Solutions/YouTrackSharp.Specs/Helpers/YouTrackConnectionSetup.cs
... ...
@@ -1,15 +1,26 @@
1  
-using Machine.Specifications;
2  
-using YouTrackSharp.Infrastructure;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
3 7
 
4 8
 namespace YouTrackSharp.Specs.Helpers
5 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using Machine.Specifications;
  13
+    using YouTrackSharp.Infrastructure;
  14
+
  15
+    #endregion
  16
+
6 17
     public class YouTrackConnectionSetup
7 18
     {
  19
+        protected static Connection connection;
  20
+
8 21
         Establish context = () =>
9 22
         {
10 23
             connection = new Connection("youtrack.jetbrains.net");
11 24
         };
12  
-
13  
-        protected static Connection connection;
14 25
     }
15 26
 }
771  Solutions/YouTrackSharp.Specs/Settings.StyleCop
... ...
@@ -0,0 +1,771 @@
  1
+<StyleCopSettings Version="4.3">
  2
+  <Parsers>
  3
+    <Parser ParserId="Microsoft.StyleCop.CSharp.CsParser">
  4
+      <ParserSettings>
  5
+        <BooleanProperty Name="AnalyzeDesignerFiles">False</BooleanProperty>
  6
+      </ParserSettings>
  7
+    </Parser>
  8
+  </Parsers>
  9
+  <Analyzers>
  10
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.DocumentationRules">
  11
+      <Rules>
  12
+        <Rule Name="ElementsMustBeDocumented">
  13
+          <RuleSettings>
  14
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  15
+          </RuleSettings>
  16
+        </Rule>
  17
+        <Rule Name="PartialElementsMustBeDocumented">
  18
+          <RuleSettings>
  19
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  20
+          </RuleSettings>
  21
+        </Rule>
  22
+        <Rule Name="EnumerationItemsMustBeDocumented">
  23
+          <RuleSettings>
  24
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  25
+          </RuleSettings>
  26
+        </Rule>
  27
+        <Rule Name="DocumentationMustContainValidXml">
  28
+          <RuleSettings>
  29
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  30
+          </RuleSettings>
  31
+        </Rule>
  32
+        <Rule Name="ElementDocumentationMustHaveSummary">
  33
+          <RuleSettings>
  34
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  35
+          </RuleSettings>
  36
+        </Rule>
  37
+        <Rule Name="PartialElementDocumentationMustHaveSummary">
  38
+          <RuleSettings>
  39
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  40
+          </RuleSettings>
  41
+        </Rule>
  42
+        <Rule Name="ElementDocumentationMustHaveSummaryText">
  43
+          <RuleSettings>
  44
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  45
+          </RuleSettings>
  46
+        </Rule>
  47
+        <Rule Name="PartialElementDocumentationMustHaveSummaryText">
  48
+          <RuleSettings>
  49
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  50
+          </RuleSettings>
  51
+        </Rule>
  52
+        <Rule Name="ElementDocumentationMustNotHaveDefaultSummary">
  53
+          <RuleSettings>
  54
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  55
+          </RuleSettings>
  56
+        </Rule>
  57
+        <Rule Name="ElementParametersMustBeDocumented">
  58
+          <RuleSettings>
  59
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  60
+          </RuleSettings>
  61
+        </Rule>
  62
+        <Rule Name="ElementParameterDocumentationMustMatchElementParameters">
  63
+          <RuleSettings>
  64
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  65
+          </RuleSettings>
  66
+        </Rule>
  67
+        <Rule Name="ElementParameterDocumentationMustDeclareParameterName">
  68
+          <RuleSettings>
  69
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  70
+          </RuleSettings>
  71
+        </Rule>
  72
+        <Rule Name="ElementParameterDocumentationMustHaveText">
  73
+          <RuleSettings>
  74
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  75
+          </RuleSettings>
  76
+        </Rule>
  77
+        <Rule Name="ElementReturnValueMustBeDocumented">
  78
+          <RuleSettings>
  79
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  80
+          </RuleSettings>
  81
+        </Rule>
  82
+        <Rule Name="ElementReturnValueDocumentationMustHaveText">
  83
+          <RuleSettings>
  84
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  85
+          </RuleSettings>
  86
+        </Rule>
  87
+        <Rule Name="VoidReturnValueMustNotBeDocumented">
  88
+          <RuleSettings>
  89
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  90
+          </RuleSettings>
  91
+        </Rule>
  92
+        <Rule Name="GenericTypeParametersMustBeDocumented">
  93
+          <RuleSettings>
  94
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  95
+          </RuleSettings>
  96
+        </Rule>
  97
+        <Rule Name="GenericTypeParametersMustBeDocumentedPartialClass">
  98
+          <RuleSettings>
  99
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  100
+          </RuleSettings>
  101
+        </Rule>
  102
+        <Rule Name="GenericTypeParameterDocumentationMustMatchTypeParameters">
  103
+          <RuleSettings>
  104
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  105
+          </RuleSettings>
  106
+        </Rule>
  107
+        <Rule Name="GenericTypeParameterDocumentationMustDeclareParameterName">
  108
+          <RuleSettings>
  109
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  110
+          </RuleSettings>
  111
+        </Rule>
  112
+        <Rule Name="GenericTypeParameterDocumentationMustHaveText">
  113
+          <RuleSettings>
  114
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  115
+          </RuleSettings>
  116
+        </Rule>
  117
+        <Rule Name="PropertySummaryDocumentationMustMatchAccessors">
  118
+          <RuleSettings>
  119
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  120
+          </RuleSettings>
  121
+        </Rule>
  122
+        <Rule Name="PropertySummaryDocumentationMustOmitSetAccessorWithRestrictedAccess">
  123
+          <RuleSettings>
  124
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  125
+          </RuleSettings>
  126
+        </Rule>
  127
+        <Rule Name="ElementDocumentationMustNotBeCopiedAndPasted">
  128
+          <RuleSettings>
  129
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  130
+          </RuleSettings>
  131
+        </Rule>
  132
+        <Rule Name="SingleLineCommentsMustNotUseDocumentationStyleSlashes">
  133
+          <RuleSettings>
  134
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  135
+          </RuleSettings>
  136
+        </Rule>
  137
+        <Rule Name="DocumentationTextMustNotBeEmpty">
  138
+          <RuleSettings>
  139
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  140
+          </RuleSettings>
  141
+        </Rule>
  142
+        <Rule Name="DocumentationTextMustContainWhitespace">
  143
+          <RuleSettings>
  144
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  145
+          </RuleSettings>
  146
+        </Rule>
  147
+        <Rule Name="DocumentationMustMeetCharacterPercentage">
  148
+          <RuleSettings>
  149
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  150
+          </RuleSettings>
  151
+        </Rule>
  152
+        <Rule Name="DocumentationTextMustMeetMinimumCharacterLength">
  153
+          <RuleSettings>
  154
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  155
+          </RuleSettings>
  156
+        </Rule>
  157
+        <Rule Name="ConstructorSummaryDocumentationMustBeginWithStandardText">
  158
+          <RuleSettings>
  159
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  160
+          </RuleSettings>
  161
+        </Rule>
  162
+        <Rule Name="DestructorSummaryDocumentationMustBeginWithStandardText">
  163
+          <RuleSettings>
  164
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  165
+          </RuleSettings>
  166
+        </Rule>
  167
+        <Rule Name="DocumentationHeadersMustNotContainBlankLines">
  168
+          <RuleSettings>
  169
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  170
+          </RuleSettings>
  171
+        </Rule>
  172
+        <Rule Name="IncludedDocumentationXPathDoesNotExist">
  173
+          <RuleSettings>
  174
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  175
+          </RuleSettings>
  176
+        </Rule>
  177
+        <Rule Name="IncludeNodeDoesNotContainValidFileAndPath">
  178
+          <RuleSettings>
  179
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  180
+          </RuleSettings>
  181
+        </Rule>
  182
+        <Rule Name="InheritDocMustBeUsedWithInheritingClass">
  183
+          <RuleSettings>
  184
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  185
+          </RuleSettings>
  186
+        </Rule>
  187
+        <Rule Name="FileMustHaveHeader">
  188
+          <RuleSettings>
  189
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  190
+          </RuleSettings>
  191
+        </Rule>
  192
+        <Rule Name="FileHeaderMustShowCopyright">
  193
+          <RuleSettings>
  194
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  195
+          </RuleSettings>
  196
+        </Rule>
  197
+        <Rule Name="FileHeaderMustHaveCopyrightText">
  198
+          <RuleSettings>
  199
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  200
+          </RuleSettings>
  201
+        </Rule>
  202
+        <Rule Name="FileHeaderMustContainFileName">
  203
+          <RuleSettings>
  204
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  205
+          </RuleSettings>
  206
+        </Rule>
  207
+        <Rule Name="FileHeaderFileNameDocumentationMustMatchFileName">
  208
+          <RuleSettings>
  209
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  210
+          </RuleSettings>
  211
+        </Rule>
  212
+        <Rule Name="FileHeaderMustHaveValidCompanyText">
  213
+          <RuleSettings>
  214
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  215
+          </RuleSettings>
  216
+        </Rule>
  217
+      </Rules>
  218
+      <AnalyzerSettings />
  219
+    </Analyzer>
  220
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.LayoutRules">
  221
+      <Rules>
  222
+        <Rule Name="CurlyBracketsForMultiLineStatementsMustNotShareLine">
  223
+          <RuleSettings>
  224
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  225
+          </RuleSettings>
  226
+        </Rule>
  227
+        <Rule Name="StatementMustNotBeOnSingleLine">
  228
+          <RuleSettings>
  229
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  230
+          </RuleSettings>
  231
+        </Rule>
  232
+        <Rule Name="ElementMustNotBeOnSingleLine">
  233
+          <RuleSettings>
  234
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  235
+          </RuleSettings>
  236
+        </Rule>
  237
+        <Rule Name="CurlyBracketsMustNotBeOmitted">
  238
+          <RuleSettings>
  239
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  240
+          </RuleSettings>
  241
+        </Rule>
  242
+        <Rule Name="AllAccessorsMustBeMultiLineOrSingleLine">
  243
+          <RuleSettings>
  244
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  245
+          </RuleSettings>
  246
+        </Rule>
  247
+        <Rule Name="OpeningCurlyBracketsMustNotBeFollowedByBlankLine">
  248
+          <RuleSettings>
  249
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  250
+          </RuleSettings>
  251
+        </Rule>
  252
+        <Rule Name="ElementDocumentationHeadersMustNotBeFollowedByBlankLine">
  253
+          <RuleSettings>
  254
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  255
+          </RuleSettings>
  256
+        </Rule>
  257
+        <Rule Name="CodeMustNotContainMultipleBlankLinesInARow">
  258
+          <RuleSettings>
  259
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  260
+          </RuleSettings>
  261
+        </Rule>
  262
+        <Rule Name="ClosingCurlyBracketsMustNotBePrecededByBlankLine">
  263
+          <RuleSettings>
  264
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  265
+          </RuleSettings>
  266
+        </Rule>
  267
+        <Rule Name="OpeningCurlyBracketsMustNotBePrecededByBlankLine">
  268
+          <RuleSettings>
  269
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  270
+          </RuleSettings>
  271
+        </Rule>
  272
+        <Rule Name="ChainedStatementBlocksMustNotBePrecededByBlankLine">
  273
+          <RuleSettings>
  274
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  275
+          </RuleSettings>
  276
+        </Rule>
  277
+        <Rule Name="WhileDoFooterMustNotBePrecededByBlankLine">
  278
+          <RuleSettings>
  279
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  280
+          </RuleSettings>
  281
+        </Rule>
  282
+        <Rule Name="SingleLineCommentsMustNotBeFollowedByBlankLine">
  283
+          <RuleSettings>
  284
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  285
+          </RuleSettings>
  286
+        </Rule>
  287
+        <Rule Name="ClosingCurlyBracketMustBeFollowedByBlankLine">
  288
+          <RuleSettings>
  289
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  290
+          </RuleSettings>
  291
+        </Rule>
  292
+        <Rule Name="ElementDocumentationHeaderMustBePrecededByBlankLine">
  293
+          <RuleSettings>
  294
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  295
+          </RuleSettings>
  296
+        </Rule>
  297
+        <Rule Name="SingleLineCommentMustBePrecededByBlankLine">
  298
+          <RuleSettings>
  299
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  300
+          </RuleSettings>
  301
+        </Rule>
  302
+        <Rule Name="ElementsMustBeSeparatedByBlankLine">
  303
+          <RuleSettings>
  304
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  305
+          </RuleSettings>
  306
+        </Rule>
  307
+      </Rules>
  308
+      <AnalyzerSettings />
  309
+    </Analyzer>
  310
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.MaintainabilityRules">
  311
+      <Rules>
  312
+        <Rule Name="AccessModifierMustBeDeclared">
  313
+          <RuleSettings>
  314
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  315
+          </RuleSettings>
  316
+        </Rule>
  317
+        <Rule Name="FieldsMustBePrivate">
  318
+          <RuleSettings>
  319
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  320
+          </RuleSettings>
  321
+        </Rule>
  322
+        <Rule Name="CodeAnalysisSuppressionMustHaveJustification">
  323
+          <RuleSettings>
  324
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  325
+          </RuleSettings>
  326
+        </Rule>
  327
+        <Rule Name="DebugAssertMustProvideMessageText">
  328
+          <RuleSettings>
  329
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  330
+          </RuleSettings>
  331
+        </Rule>
  332
+        <Rule Name="DebugFailMustProvideMessageText">
  333
+          <RuleSettings>
  334
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  335
+          </RuleSettings>
  336
+        </Rule>
  337
+        <Rule Name="FileMayOnlyContainASingleClass">
  338
+          <RuleSettings>
  339
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  340
+          </RuleSettings>
  341
+        </Rule>
  342
+        <Rule Name="FileMayOnlyContainASingleNamespace">
  343
+          <RuleSettings>
  344
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  345
+          </RuleSettings>
  346
+        </Rule>
  347
+        <Rule Name="StatementMustNotUseUnnecessaryParenthesis">
  348
+          <RuleSettings>
  349
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  350
+          </RuleSettings>
  351
+        </Rule>
  352
+        <Rule Name="ArithmeticExpressionsMustDeclarePrecedence">
  353
+          <RuleSettings>
  354
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  355
+          </RuleSettings>
  356
+        </Rule>
  357
+        <Rule Name="ConditionalExpressionsMustDeclarePrecedence">
  358
+          <RuleSettings>
  359
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  360
+          </RuleSettings>
  361
+        </Rule>
  362
+        <Rule Name="RemoveDelegateParenthesisWhenPossible">
  363
+          <RuleSettings>
  364
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  365
+          </RuleSettings>
  366
+        </Rule>
  367
+        <Rule Name="RemoveUnnecessaryCode">
  368
+          <RuleSettings>
  369
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  370
+          </RuleSettings>
  371
+        </Rule>
  372
+      </Rules>
  373
+      <AnalyzerSettings />
  374
+    </Analyzer>
  375
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.NamingRules">
  376
+      <Rules>
  377
+        <Rule Name="ElementMustBeginWithUpperCaseLetter">
  378
+          <RuleSettings>
  379
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  380
+          </RuleSettings>
  381
+        </Rule>
  382
+        <Rule Name="ElementMustBeginWithLowerCaseLetter">
  383
+          <RuleSettings>
  384
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  385
+          </RuleSettings>
  386
+        </Rule>
  387
+        <Rule Name="InterfaceNamesMustBeginWithI">
  388
+          <RuleSettings>
  389
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  390
+          </RuleSettings>
  391
+        </Rule>
  392
+        <Rule Name="ConstFieldNamesMustBeginWithUpperCaseLetter">
  393
+          <RuleSettings>
  394
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  395
+          </RuleSettings>
  396
+        </Rule>
  397
+        <Rule Name="NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter">
  398
+          <RuleSettings>
  399
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  400
+          </RuleSettings>
  401
+        </Rule>
  402
+        <Rule Name="FieldNamesMustNotUseHungarianNotation">
  403
+          <RuleSettings>
  404
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  405
+          </RuleSettings>
  406
+        </Rule>
  407
+        <Rule Name="FieldNamesMustBeginWithLowerCaseLetter">
  408
+          <RuleSettings>
  409
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  410
+          </RuleSettings>
  411
+        </Rule>
  412
+        <Rule Name="AccessibleFieldsMustBeginWithUpperCaseLetter">
  413
+          <RuleSettings>
  414
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  415
+          </RuleSettings>
  416
+        </Rule>
  417
+        <Rule Name="VariableNamesMustNotBePrefixed">
  418
+          <RuleSettings>
  419
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  420
+          </RuleSettings>
  421
+        </Rule>
  422
+        <Rule Name="FieldNamesMustNotBeginWithUnderscore">
  423
+          <RuleSettings>
  424
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  425
+          </RuleSettings>
  426
+        </Rule>
  427
+        <Rule Name="FieldNamesMustNotContainUnderscore">
  428
+          <RuleSettings>
  429
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  430
+          </RuleSettings>
  431
+        </Rule>
  432
+      </Rules>
  433
+      <AnalyzerSettings />
  434
+    </Analyzer>
  435
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.OrderingRules">
  436
+      <Rules>
  437
+        <Rule Name="UsingDirectivesMustBePlacedWithinNamespace">
  438
+          <RuleSettings>
  439
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  440
+          </RuleSettings>
  441
+        </Rule>
  442
+        <Rule Name="ElementsMustAppearInTheCorrectOrder">
  443
+          <RuleSettings>
  444
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  445
+          </RuleSettings>
  446
+        </Rule>
  447
+        <Rule Name="ElementsMustBeOrderedByAccess">
  448
+          <RuleSettings>
  449
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  450
+          </RuleSettings>
  451
+        </Rule>
  452
+        <Rule Name="ConstantsMustAppearBeforeFields">
  453
+          <RuleSettings>
  454
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  455
+          </RuleSettings>
  456
+        </Rule>
  457
+        <Rule Name="StaticElementsMustAppearBeforeInstanceElements">
  458
+          <RuleSettings>
  459
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  460
+          </RuleSettings>
  461
+        </Rule>
  462
+        <Rule Name="DeclarationKeywordsMustFollowOrder">
  463
+          <RuleSettings>
  464
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  465
+          </RuleSettings>
  466
+        </Rule>
  467
+        <Rule Name="ProtectedMustComeBeforeInternal">
  468
+          <RuleSettings>
  469
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  470
+          </RuleSettings>
  471
+        </Rule>
  472
+        <Rule Name="PropertyAccessorsMustFollowOrder">
  473
+          <RuleSettings>
  474
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  475
+          </RuleSettings>
  476
+        </Rule>
  477
+        <Rule Name="EventAccessorsMustFollowOrder">
  478
+          <RuleSettings>
  479
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  480
+          </RuleSettings>
  481
+        </Rule>
  482
+        <Rule Name="SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives">
  483
+          <RuleSettings>
  484
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  485
+          </RuleSettings>
  486
+        </Rule>
  487
+        <Rule Name="UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives">
  488
+          <RuleSettings>
  489
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  490
+          </RuleSettings>
  491
+        </Rule>
  492
+        <Rule Name="UsingDirectivesMustBeOrderedAlphabeticallyByNamespace">
  493
+          <RuleSettings>
  494
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  495
+          </RuleSettings>
  496
+        </Rule>
  497
+        <Rule Name="UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName">
  498
+          <RuleSettings>
  499
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  500
+          </RuleSettings>
  501
+        </Rule>
  502
+      </Rules>
  503
+      <AnalyzerSettings />
  504
+    </Analyzer>
  505
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.ReadabilityRules">
  506
+      <Rules>
  507
+        <Rule Name="CommentsMustContainText">
  508
+          <RuleSettings>
  509
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  510
+          </RuleSettings>
  511
+        </Rule>
  512
+        <Rule Name="DoNotPrefixCallsWithBaseUnlessLocalImplementationExists">
  513
+          <RuleSettings>
  514
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  515
+          </RuleSettings>
  516
+        </Rule>
  517
+        <Rule Name="PrefixLocalCallsWithThis">
  518
+          <RuleSettings>
  519
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  520
+          </RuleSettings>
  521
+        </Rule>
  522
+        <Rule Name="OpeningParenthesisMustBeOnDeclarationLine">
  523
+          <RuleSettings>
  524
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  525
+          </RuleSettings>
  526
+        </Rule>
  527
+        <Rule Name="ClosingParenthesisMustBeOnLineOfLastParameter">
  528
+          <RuleSettings>
  529
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  530
+          </RuleSettings>
  531
+        </Rule>
  532
+        <Rule Name="ClosingParenthesisMustBeOnLineOfOpeningParenthesis">
  533
+          <RuleSettings>
  534
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  535
+          </RuleSettings>
  536
+        </Rule>
  537
+        <Rule Name="CommaMustBeOnSameLineAsPreviousParameter">
  538
+          <RuleSettings>
  539
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  540
+          </RuleSettings>
  541
+        </Rule>
  542
+        <Rule Name="ParameterListMustFollowDeclaration">
  543
+          <RuleSettings>
  544
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  545
+          </RuleSettings>
  546
+        </Rule>
  547
+        <Rule Name="ParameterMustFollowComma">
  548
+          <RuleSettings>
  549
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  550
+          </RuleSettings>
  551
+        </Rule>
  552
+        <Rule Name="SplitParametersMustStartOnLineAfterDeclaration">
  553
+          <RuleSettings>
  554
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  555
+          </RuleSettings>
  556
+        </Rule>
  557
+        <Rule Name="ParametersMustBeOnSameLineOrSeparateLines">
  558
+          <RuleSettings>
  559
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  560
+          </RuleSettings>
  561
+        </Rule>
  562
+        <Rule Name="ParameterMustNotSpanMultipleLines">
  563
+          <RuleSettings>
  564
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  565
+          </RuleSettings>
  566
+        </Rule>
  567
+        <Rule Name="QueryClauseMustFollowPreviousClause">
  568
+          <RuleSettings>
  569
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  570
+          </RuleSettings>
  571
+        </Rule>
  572
+        <Rule Name="QueryClausesMustBeOnSeparateLinesOrAllOnOneLine">
  573
+          <RuleSettings>
  574
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  575
+          </RuleSettings>
  576
+        </Rule>
  577
+        <Rule Name="QueryClauseMustBeginOnNewLineWhenPreviousClauseSpansMultipleLines">
  578
+          <RuleSettings>
  579
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  580
+          </RuleSettings>
  581
+        </Rule>
  582
+        <Rule Name="QueryClausesSpanningMultipleLinesMustBeginOnOwnLine">
  583
+          <RuleSettings>
  584
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  585
+          </RuleSettings>
  586
+        </Rule>
  587
+        <Rule Name="DoNotPlaceRegionsWithinElements">
  588
+          <RuleSettings>
  589
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  590
+          </RuleSettings>
  591
+        </Rule>
  592
+        <Rule Name="CodeMustNotContainEmptyStatements">
  593
+          <RuleSettings>
  594
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  595
+          </RuleSettings>
  596
+        </Rule>
  597
+        <Rule Name="CodeMustNotContainMultipleStatementsOnOneLine">
  598
+          <RuleSettings>
  599
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  600
+          </RuleSettings>
  601
+        </Rule>
  602
+        <Rule Name="BlockStatementsMustNotContainEmbeddedComments">
  603
+          <RuleSettings>
  604
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  605
+          </RuleSettings>
  606
+        </Rule>
  607
+        <Rule Name="BlockStatementsMustNotContainEmbeddedRegions">
  608
+          <RuleSettings>
  609
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  610
+          </RuleSettings>
  611
+        </Rule>
  612
+        <Rule Name="UseStringEmptyForEmptyStrings">
  613
+          <RuleSettings>
  614
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  615
+          </RuleSettings>
  616
+        </Rule>
  617
+        <Rule Name="UseBuiltInTypeAlias">
  618
+          <RuleSettings>
  619
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  620
+          </RuleSettings>
  621
+        </Rule>
  622
+      </Rules>
  623
+      <AnalyzerSettings />
  624
+    </Analyzer>
  625
+    <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.SpacingRules">
  626
+      <Rules>
  627
+        <Rule Name="KeywordsMustBeSpacedCorrectly">
  628
+          <RuleSettings>
  629
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  630
+          </RuleSettings>
  631
+        </Rule>
  632
+        <Rule Name="CommasMustBeSpacedCorrectly">
  633
+          <RuleSettings>
  634
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  635
+          </RuleSettings>
  636
+        </Rule>
  637
+        <Rule Name="SemicolonsMustBeSpacedCorrectly">
  638
+          <RuleSettings>
  639
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  640
+          </RuleSettings>
  641
+        </Rule>
  642
+        <Rule Name="SymbolsMustBeSpacedCorrectly">
  643
+          <RuleSettings>
  644
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  645
+          </RuleSettings>
  646
+        </Rule>
  647
+        <Rule Name="DocumentationLinesMustBeginWithSingleSpace">
  648
+          <RuleSettings>
  649
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  650
+          </RuleSettings>
  651
+        </Rule>
  652
+        <Rule Name="SingleLineCommentsMustBeginWithSingleSpace">
  653
+          <RuleSettings>
  654
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  655
+          </RuleSettings>
  656
+        </Rule>
  657
+        <Rule Name="PreprocessorKeywordsMustNotBePrecededBySpace">
  658
+          <RuleSettings>
  659
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  660
+          </RuleSettings>
  661
+        </Rule>
  662
+        <Rule Name="OperatorKeywordMustBeFollowedBySpace">
  663
+          <RuleSettings>
  664
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  665
+          </RuleSettings>
  666
+        </Rule>
  667
+        <Rule Name="OpeningParenthesisMustBeSpacedCorrectly">
  668
+          <RuleSettings>
  669
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  670
+          </RuleSettings>
  671
+        </Rule>
  672
+        <Rule Name="ClosingParenthesisMustBeSpacedCorrectly">
  673
+          <RuleSettings>
  674
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  675
+          </RuleSettings>
  676
+        </Rule>
  677
+        <Rule Name="OpeningSquareBracketsMustBeSpacedCorrectly">
  678
+          <RuleSettings>
  679
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  680
+          </RuleSettings>
  681
+        </Rule>
  682
+        <Rule Name="ClosingSquareBracketsMustBeSpacedCorrectly">
  683
+          <RuleSettings>
  684
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  685
+          </RuleSettings>
  686
+        </Rule>
  687
+        <Rule Name="OpeningCurlyBracketsMustBeSpacedCorrectly">
  688
+          <RuleSettings>
  689
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  690
+          </RuleSettings>
  691
+        </Rule>
  692
+        <Rule Name="ClosingCurlyBracketsMustBeSpacedCorrectly">
  693
+          <RuleSettings>
  694
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  695
+          </RuleSettings>
  696
+        </Rule>
  697
+        <Rule Name="OpeningGenericBracketsMustBeSpacedCorrectly">
  698
+          <RuleSettings>
  699
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  700
+          </RuleSettings>
  701
+        </Rule>
  702
+        <Rule Name="ClosingGenericBracketsMustBeSpacedCorrectly">
  703
+          <RuleSettings>
  704
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  705
+          </RuleSettings>
  706
+        </Rule>
  707
+        <Rule Name="OpeningAttributeBracketsMustBeSpacedCorrectly">
  708
+          <RuleSettings>
  709
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  710
+          </RuleSettings>
  711
+        </Rule>
  712
+        <Rule Name="ClosingAttributeBracketsMustBeSpacedCorrectly">
  713
+          <RuleSettings>
  714
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  715
+          </RuleSettings>
  716
+        </Rule>
  717
+        <Rule Name="NullableTypeSymbolsMustNotBePrecededBySpace">
  718
+          <RuleSettings>
  719
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  720
+          </RuleSettings>
  721
+        </Rule>
  722
+        <Rule Name="MemberAccessSymbolsMustBeSpacedCorrectly">
  723
+          <RuleSettings>
  724
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  725
+          </RuleSettings>
  726
+        </Rule>
  727
+        <Rule Name="IncrementDecrementSymbolsMustBeSpacedCorrectly">
  728
+          <RuleSettings>
  729
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  730
+          </RuleSettings>
  731
+        </Rule>
  732
+        <Rule Name="NegativeSignsMustBeSpacedCorrectly">
  733
+          <RuleSettings>
  734
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  735
+          </RuleSettings>
  736
+        </Rule>
  737
+        <Rule Name="PositiveSignsMustBeSpacedCorrectly">
  738
+          <RuleSettings>
  739
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  740
+          </RuleSettings>
  741
+        </Rule>
  742
+        <Rule Name="DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly">
  743
+          <RuleSettings>
  744
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  745
+          </RuleSettings>
  746
+        </Rule>
  747
+        <Rule Name="ColonsMustBeSpacedCorrectly">
  748
+          <RuleSettings>
  749
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  750
+          </RuleSettings>
  751
+        </Rule>
  752
+        <Rule Name="CodeMustNotContainMultipleWhitespaceInARow">
  753
+          <RuleSettings>
  754
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  755
+          </RuleSettings>
  756
+        </Rule>
  757
+        <Rule Name="CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation">
  758
+          <RuleSettings>
  759
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  760
+          </RuleSettings>
  761
+        </Rule>
  762
+        <Rule Name="TabsMustNotBeUsed">
  763
+          <RuleSettings>
  764
+            <BooleanProperty Name="Enabled">False</BooleanProperty>
  765
+          </RuleSettings>
  766
+        </Rule>
  767
+      </Rules>
  768
+      <AnalyzerSettings />
  769
+    </Analyzer>
  770
+  </Analyzers>
  771
+</StyleCopSettings>
30  Solutions/YouTrackSharp.Specs/Specs/IssueManagementSpecs.cs
... ...
@@ -1,16 +1,26 @@
1  
-using System;
2  
-using System.Collections.Generic;
3  
-using System.Dynamic;
4  
-using System.Linq;
5  
-using System.Net;
6  
-using EasyHttp.Infrastructure;
7  
-using Machine.Specifications;
8  
-using YouTrackSharp.Infrastructure;
9  
-using YouTrackSharp.Issues;
10  
-using YouTrackSharp.Specs.Helpers;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
11 7
 
12 8
 namespace YouTrackSharp.Specs.Specs
13 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using System;
  13
+    using System.Collections.Generic;
  14
+    using System.Linq;
  15
+    using System.Net;
  16
+    using EasyHttp.Infrastructure;
  17
+    using Machine.Specifications;
  18
+    using YouTrackSharp.Infrastructure;
  19
+    using YouTrackSharp.Issues;
  20
+    using YouTrackSharp.Specs.Helpers;
  21
+
  22
+    #endregion
  23
+
14 24
     [Subject("Issue Management")]
15 25
     public class when_requesting_list_of_issues_for_project: AuthenticatedYouTrackConnectionForIssueSpecsSetup
16 26
     {
20  Solutions/YouTrackSharp.Specs/Specs/ProjectManagementSpecs.cs
... ...
@@ -1,11 +1,21 @@
1  
-using System.Collections.Generic;
2  
-using System.Linq;
3  
-using Machine.Specifications;
4  
-using YouTrackSharp.Projects;
5  
-using YouTrackSharp.Specs.Helpers;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
6 7
 
7 8
 namespace YouTrackSharp.Specs.Specs
8 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using System.Collections.Generic;
  13
+    using System.Linq;
  14
+    using Machine.Specifications;
  15
+    using YouTrackSharp.Projects;
  16
+    using YouTrackSharp.Specs.Helpers;
  17
+
  18
+    #endregion
9 19
 
10 20
     [Subject("Project Management")]
11 21
     public class when_retrieving_a_list_of_existing_projects: AuthenticatedYouTrackConnectionForProjectSpecsSetup
27  Solutions/YouTrackSharp.Specs/Specs/UserManagementSpecs.cs
... ...
@@ -1,14 +1,25 @@
1  
-using System;
2  
-using System.Collections.Generic;
3  
-using System.Linq;
4  
-using Machine.Specifications;
5  
-using YouTrackSharp.Admin;
6  
-using YouTrackSharp.Infrastructure;
7  
-using YouTrackSharp.Server;
8  
-using YouTrackSharp.Specs.Helpers;
  1
+#region Settings
  2
+#pragma warning disable 169
  3
+// ReSharper disable InconsistentNaming
  4
+// ReSharper disable UnusedMember.Global
  5
+// ReSharper disable UnusedMember.Local
  6
+#endregion
9 7
 
10 8
 namespace YouTrackSharp.Specs.Specs
11 9
 {
  10
+    #region Using Directives
  11
+
  12
+    using System;
  13
+    using System.Collections.Generic;
  14
+    using System.Linq;
  15
+    using Machine.Specifications;
  16
+    using YouTrackSharp.Admin;
  17
+    using YouTrackSharp.Infrastructure;
  18
+    using YouTrackSharp.Server;
  19
+    using YouTrackSharp.Specs.Helpers;
  20
+
  21
+    #endregion
  22
+
12 23
     [Subject("User Management")]
13 24
     public class when_requesting_user_information_of_existing_user_with_valid_authorization: AuthenticatedYouTrackConnectionSetup
14 25
     {
6  Solutions/YouTrackSharp/YouTrackSharp.csproj
@@ -30,6 +30,12 @@
30 30
     <ErrorReport>prompt</ErrorReport>
31 31
     <WarningLevel>4</WarningLevel>
32 32
   </PropertyGroup>
  33
+  <PropertyGroup>
  34
+    <SignAssembly>false</SignAssembly>
  35
+  </PropertyGroup>
  36
+  <PropertyGroup>
  37
+    <AssemblyOriginatorKeyFile>..\..\Build\Signing\YouTrackSharp.snk</AssemblyOriginatorKeyFile>
  38
+  </PropertyGroup>
33 39
   <ItemGroup>
34 40
     <Reference Include="EasyHttp">
35 41
       <HintPath>..\..\ReferencedAssemblies\EasyHttp\EasyHttp.dll</HintPath>

0 notes on commit 4c71875

Please sign in to comment.
Something went wrong with that request. Please try again.