SHARE
TWEET

Untitled

a guest Dec 12th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
  3.   <TypePattern DisplayName="Non-reorderable types">
  4.     <TypePattern.Match>
  5.       <Or>
  6.         <And>
  7.           <Kind Is="Interface" />
  8.           <Or>
  9.             <HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" />
  10.             <HasAttribute Name="System.Runtime.InteropServices.ComImport" />
  11.           </Or>
  12.         </And>
  13.         <Kind Is="Struct" />
  14.         <HasAttribute Name="JetBrains.Annotations.NoReorderAttribute" />
  15.         <HasAttribute Name="JetBrains.Annotations.NoReorder" />
  16.       </Or>
  17.     </TypePattern.Match>
  18.   </TypePattern>
  19.   <TypePattern DisplayName="xUnit.net Test Classes" RemoveRegions="All">
  20.     <TypePattern.Match>
  21.       <And>
  22.         <Kind Is="Class" />
  23.         <HasMember>
  24.           <And>
  25.             <Kind Is="Method" />
  26.             <HasAttribute Name="Xunit.FactAttribute" Inherited="True" />
  27.           </And>
  28.         </HasMember>
  29.       </And>
  30.     </TypePattern.Match>
  31.     <Entry DisplayName="Setup/Teardown Methods">
  32.       <Entry.Match>
  33.         <Or>
  34.           <Kind Is="Constructor" />
  35.           <And>
  36.             <Kind Is="Method" />
  37.             <ImplementsInterface Name="System.IDisposable" />
  38.           </And>
  39.         </Or>
  40.       </Entry.Match>
  41.       <Entry.SortBy>
  42.         <Kind Order="Constructor" />
  43.       </Entry.SortBy>
  44.     </Entry>
  45.     <Entry DisplayName="All other members" />
  46.     <Entry Priority="100" DisplayName="Test Methods">
  47.       <Entry.Match>
  48.         <And>
  49.           <Kind Is="Method" />
  50.           <HasAttribute Name="Xunit.FactAttribute" />
  51.         </And>
  52.       </Entry.Match>
  53.       <Entry.SortBy>
  54.         <Name />
  55.       </Entry.SortBy>
  56.     </Entry>
  57.   </TypePattern>
  58.   <TypePattern DisplayName="NUnit Test Fixtures" RemoveRegions="All">
  59.     <TypePattern.Match>
  60.       <And>
  61.         <Kind Is="Class" />
  62.         <HasAttribute Name="NUnit.Framework.TestFixtureAttribute" Inherited="True" />
  63.       </And>
  64.     </TypePattern.Match>
  65.     <Entry DisplayName="Setup/Teardown Methods">
  66.       <Entry.Match>
  67.         <And>
  68.           <Kind Is="Method" />
  69.           <Or>
  70.             <HasAttribute Name="NUnit.Framework.SetUpAttribute" Inherited="True" />
  71.             <HasAttribute Name="NUnit.Framework.TearDownAttribute" Inherited="True" />
  72.             <HasAttribute Name="NUnit.Framework.FixtureSetUpAttribute" Inherited="True" />
  73.             <HasAttribute Name="NUnit.Framework.FixtureTearDownAttribute" Inherited="True" />
  74.           </Or>
  75.         </And>
  76.       </Entry.Match>
  77.     </Entry>
  78.     <Entry DisplayName="All other members" />
  79.     <Entry Priority="100" DisplayName="Test Methods">
  80.       <Entry.Match>
  81.         <And>
  82.           <Kind Is="Method" />
  83.           <HasAttribute Name="NUnit.Framework.TestAttribute" />
  84.         </And>
  85.       </Entry.Match>
  86.       <Entry.SortBy>
  87.         <Name />
  88.       </Entry.SortBy>
  89.     </Entry>
  90.   </TypePattern>
  91.   <TypePattern DisplayName="Default Pattern">
  92.     <Entry Priority="100" DisplayName="Public Delegates">
  93.       <Entry.Match>
  94.         <And>
  95.           <Access Is="Public" />
  96.           <Kind Is="Delegate" />
  97.         </And>
  98.       </Entry.Match>
  99.       <Entry.SortBy>
  100.         <Name />
  101.       </Entry.SortBy>
  102.     </Entry>
  103.     <Entry Priority="100" DisplayName="Public Enums">
  104.       <Entry.Match>
  105.         <And>
  106.           <Access Is="Public" />
  107.           <Kind Is="Enum" />
  108.         </And>
  109.       </Entry.Match>
  110.       <Entry.SortBy>
  111.         <Name />
  112.       </Entry.SortBy>
  113.     </Entry>
  114.     <Entry DisplayName="Static Fields and Constants">
  115.       <Entry.Match>
  116.         <Or>
  117.           <Kind Is="Constant" />
  118.           <And>
  119.             <Kind Is="Field" />
  120.             <Static />
  121.           </And>
  122.         </Or>
  123.       </Entry.Match>
  124.       <Entry.SortBy>
  125.         <Kind Order="Constant Field" />
  126.       </Entry.SortBy>
  127.     </Entry>
  128.     <Entry DisplayName="Fields">
  129.       <Entry.Match>
  130.         <And>
  131.           <Kind Is="Field" />
  132.           <Not>
  133.             <Static />
  134.           </Not>
  135.         </And>
  136.       </Entry.Match>
  137.       <Entry.SortBy>
  138.         <Readonly />
  139.         <Name />
  140.       </Entry.SortBy>
  141.     </Entry>
  142.     <Entry DisplayName="Constructors">
  143.       <Entry.Match>
  144.         <Kind Is="Constructor" />
  145.       </Entry.Match>
  146.       <Entry.SortBy>
  147.         <Static />
  148.       </Entry.SortBy>
  149.     </Entry>
  150.     <Entry DisplayName="Properties, Indexers">
  151.       <Entry.Match>
  152.         <Or>
  153.           <Kind Is="Property" />
  154.           <Kind Is="Indexer" />
  155.         </Or>
  156.       </Entry.Match>
  157.     </Entry>
  158.     <Entry Priority="100" DisplayName="Interface Implementations">
  159.       <Entry.Match>
  160.         <And>
  161.           <Kind Is="Member" />
  162.           <ImplementsInterface />
  163.         </And>
  164.       </Entry.Match>
  165.       <Entry.SortBy>
  166.         <ImplementsInterface Immediate="True" />
  167.       </Entry.SortBy>
  168.     </Entry>
  169.     <Entry DisplayName="All other members">
  170.       <Entry.SortBy>
  171.         <Access />
  172.         <Name />
  173.       </Entry.SortBy>
  174.     </Entry>
  175.     <Entry DisplayName="Nested Types">
  176.       <Entry.Match>
  177.         <Kind Is="Type" />
  178.       </Entry.Match>
  179.     </Entry>
  180.   </TypePattern>
  181. </Patterns>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top