Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Regionerate StyleCop Rules

  • Loading branch information...
commit 82df1067c4eaf1ffdeddbc9cc61415d5b67fde46 1 parent 53442e4
@indexzero authored
Showing with 27 additions and 5 deletions.
  1. +27 −5 Regionerate StyleCop Rules.xml
View
32 Regionerate StyleCop Rules.xml
@@ -1,4 +1,4 @@
-<CodeLayout xmlns="http://regionerate.net/schemas/0.7.0.0/CodeLayout.xsd">
+<CodeLayout xmlns="http://regionerate.net/schemas/0.7.3.0/CodeLayout.xsd">
<!-- Ordered By: SA1201: ElementsMustAppearInTheCorrectOrder -->
<ForEach Type="Class">
<CreateRegion Title="Dependency Properties" Style="Visible">
@@ -50,6 +50,17 @@
</CreateRegion>
</CreateRegion>
<CreateRegion Title="Constructors" Style="Invisible">
+ <CreateRegion Title="Static Constructors" Style="Invisible">
+ <PutMethods>
+ <Where>
+ <IsConstructor Equals="true" />
+ <Static Equals="true" />
+ </Where>
+ <OrderBy>
+ <ParametersCount Direction="Descending" />
+ </OrderBy>
+ </PutMethods>
+ </CreateRegion>
<CreateRegion Title="Public Constructors" Style="Invisible">
<PutMethods>
<Where>
@@ -142,7 +153,19 @@
<!-- Remark: No Ability to Create Regions for Indexers in Rengerate 0.7.0.0 -->
<CreateRegion Title="Methods" Style="Visible">
<!-- Ordered By: SA1202: ElementsMustBeOrderedByAccess -->
- <CreateRegion Title="Public Methods" Style="Invisible">
+ <CreateRegion Title="Public Static Methods" Style="Invisible">
+ <PutMethods>
+ <Where>
+ <Access Equals="Public" />
+ <Static Equals="true"/>
+ </Where>
+ <OrderBy>
+ <Name />
+ <ParametersCount />
+ </OrderBy>
+ </PutMethods>
+ </CreateRegion>
+ <CreateRegion Title="Public Instance Methods" Style="Invisible">
<PutMethods>
<Where>
<Access Equals="Public" />
@@ -167,8 +190,7 @@
<CreateRegion Title="Protected Internal Methods" Style="Invisible">
<PutMethods>
<Where>
- <Access Equals="Protected" />
- <Access Equals="Internal" />
+ <Access Equals="InternalProtected" />
</Where>
<OrderBy>
<Name />
@@ -187,7 +209,7 @@
</OrderBy>
</PutMethods>
</CreateRegion>
- <CreateRegion Title="Private Static Methods">
+ <CreateRegion Title="Private Static Methods" Style="Invisible">
<PutMethods>
<Where>
<Static Equals="true"/>
Please sign in to comment.
Something went wrong with that request. Please try again.