| OLD | NEW |
| (Empty) |
| 1 <Configuration> | |
| 2 <CodeStyleSettings> | |
| 3 <ExternalPath>C:\hg\nvs\build\CodeFormatStyle.Resharper.xml</ExternalPath> | |
| 4 <Sharing>SOLUTION</Sharing> | |
| 5 <CSharp> | |
| 6 <FormatSettings> | |
| 7 <ANONYMOUS_METHOD_DECLARATION_BRACES>END_OF_LINE</ANONYMOUS_METHOD_DECLA
RATION_BRACES> | |
| 8 <ARRANGE_MODIFIER_IN_EXISTING_CODE>False</ARRANGE_MODIFIER_IN_EXISTING_C
ODE> | |
| 9 <CASE_BLOCK_BRACES>END_OF_LINE</CASE_BLOCK_BRACES> | |
| 10 <CONTINUOUS_INDENT_MULTIPLIER>2</CONTINUOUS_INDENT_MULTIPLIER> | |
| 11 <EMPTY_BLOCK_STYLE>TOGETHER_SAME_LINE</EMPTY_BLOCK_STYLE> | |
| 12 <FORCE_FIXED_BRACES_STYLE>ALWAYS_ADD</FORCE_FIXED_BRACES_STYLE> | |
| 13 <FORCE_FOR_BRACES_STYLE>ALWAYS_ADD</FORCE_FOR_BRACES_STYLE> | |
| 14 <FORCE_FOREACH_BRACES_STYLE>ALWAYS_ADD</FORCE_FOREACH_BRACES_STYLE> | |
| 15 <FORCE_IFELSE_BRACES_STYLE>ALWAYS_ADD</FORCE_IFELSE_BRACES_STYLE> | |
| 16 <FORCE_USING_BRACES_STYLE>ALWAYS_ADD</FORCE_USING_BRACES_STYLE> | |
| 17 <FORCE_WHILE_BRACES_STYLE>ALWAYS_ADD</FORCE_WHILE_BRACES_STYLE> | |
| 18 <INITIALIZER_BRACES>END_OF_LINE</INITIALIZER_BRACES> | |
| 19 <INVOCABLE_DECLARATION_BRACES>END_OF_LINE</INVOCABLE_DECLARATION_BRACES> | |
| 20 <MODIFIERS_ORDER IsNull="False"> | |
| 21 <Item>public</Item> | |
| 22 <Item>protected</Item> | |
| 23 <Item>internal</Item> | |
| 24 <Item>private</Item> | |
| 25 <Item>new</Item> | |
| 26 <Item>abstract</Item> | |
| 27 <Item>virtual</Item> | |
| 28 <Item>override</Item> | |
| 29 <Item>sealed</Item> | |
| 30 <Item>static</Item> | |
| 31 <Item>readonly</Item> | |
| 32 <Item>extern</Item> | |
| 33 <Item>unsafe</Item> | |
| 34 <Item>volatile</Item> | |
| 35 </MODIFIERS_ORDER> | |
| 36 <OTHER_BRACES>END_OF_LINE</OTHER_BRACES> | |
| 37 <PLACE_ELSE_ON_NEW_LINE>False</PLACE_ELSE_ON_NEW_LINE> | |
| 38 <SPACE_AROUND_MULTIPLICATIVE_OP>True</SPACE_AROUND_MULTIPLICATIVE_OP> | |
| 39 <TYPE_DECLARATION_BRACES>END_OF_LINE</TYPE_DECLARATION_BRACES> | |
| 40 <WRAP_ARGUMENTS_STYLE>CHOP_IF_LONG</WRAP_ARGUMENTS_STYLE> | |
| 41 <WRAP_EXTENDS_LIST_STYLE>CHOP_IF_LONG</WRAP_EXTENDS_LIST_STYLE> | |
| 42 <WRAP_LIMIT>80</WRAP_LIMIT> | |
| 43 <WRAP_PARAMETERS_STYLE>CHOP_IF_LONG</WRAP_PARAMETERS_STYLE> | |
| 44 </FormatSettings> | |
| 45 <UsingsSettings /> | |
| 46 <Naming2> | |
| 47 <ExceptionName IsNull="False"> | |
| 48 </ExceptionName> | |
| 49 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="TypesAndNamespaces" /> | |
| 50 <PredefinedRule Inspect="True" Prefix="I" Suffix="" Style="AaBb" Element
Kind="Interfaces" /> | |
| 51 <PredefinedRule Inspect="True" Prefix="T" Suffix="" Style="AaBb" Element
Kind="TypeParameters" /> | |
| 52 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="MethodPropertyEvent" /> | |
| 53 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementK
ind="Locals" /> | |
| 54 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementK
ind="LocalConstants" /> | |
| 55 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementK
ind="Parameters" /> | |
| 56 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="PublicFields" /> | |
| 57 <PredefinedRule Inspect="True" Prefix="" Suffix="_" Style="aaBb" Element
Kind="PrivateInstanceFields" /> | |
| 58 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementK
ind="PrivateStaticFields" /> | |
| 59 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" Element
Kind="Constants" /> | |
| 60 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" Element
Kind="PrivateConstants" /> | |
| 61 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="StaticReadonly" /> | |
| 62 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="PrivateStaticReadonly" /> | |
| 63 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="EnumMember" /> | |
| 64 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementK
ind="Other" /> | |
| 65 <Abbreviation Text="AABB" /> | |
| 66 </Naming2> | |
| 67 <CustomMemberReorderingPatterns><![CDATA[<?xml version="1.0" encoding="utf
-8" ?> | |
| 68 | |
| 69 <!-- | |
| 70 I. Overall | |
| 71 | |
| 72 I.1 Each pattern can have <Match>....</Match> element. For the given type declar
ation, the pattern with the match, evaluated to 'true' with the largest weight,
will be used | |
| 73 I.2 Each pattern consists of the sequence of <Entry>...</Entry> elements. Type m
ember declarations are distributed between entries | |
| 74 I.3 If pattern has RemoveAllRegions="true" attribute, then all regions will be c
leared prior to reordering. Otherwise, only auto-generated regions will be clear
ed | |
| 75 I.4 The contents of each entry is sorted by given keys (First key is primary, n
ext key is secondary, etc). Then the declarations are grouped and en-regioned by
given property | |
| 76 | |
| 77 II. Available match operands | |
| 78 | |
| 79 Each operand may have Weight="..." attribute. This weight will be added to the m
atch weight if the operand is evaluated to 'true'. | |
| 80 The default weight is 1 | |
| 81 | |
| 82 II.1 Boolean functions: | |
| 83 II.1.1 <And>....</And> | |
| 84 II.1.2 <Or>....</Or> | |
| 85 II.1.3 <Not>....</Not> | |
| 86 | |
| 87 II.2 Operands | |
| 88 II.2.1 <Kind Is="..."/>. Kinds are: class, struct, interface, enum, delegate, ty
pe, constructor, destructor, property, indexer, method, operator, field, constan
t, event, member | |
| 89 II.2.2 <Name Is="..." [IgnoreCase="true/false"] />. The 'Is' attribute contains
regular expression | |
| 90 II.2.3 <HasAttribute CLRName="..." [Inherit="true/false"] />. The 'CLRName' attr
ibute contains regular expression | |
| 91 II.2.4 <Access Is="..."/>. The 'Is' values are: public, protected, internal, pro
tected internal, private | |
| 92 II.2.5 <Static/> | |
| 93 II.2.6 <Abstract/> | |
| 94 II.2.7 <Virtual/> | |
| 95 II.2.8 <Override/> | |
| 96 II.2.9 <Sealed/> | |
| 97 II.2.10 <Readonly/> | |
| 98 II.2.11 <ImplementsInterface CLRName="..."/>. The 'CLRName' attribute contains r
egular expression | |
| 99 II.2.12 <HandlesEvent /> | |
| 100 --> | |
| 101 | |
| 102 <Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns"> | |
| 103 | |
| 104 <!--Do not reorder COM interfaces and structs marked by StructLayout attribute
--> | |
| 105 <Pattern> | |
| 106 <Match> | |
| 107 <Or Weight="100"> | |
| 108 <And> | |
| 109 <Kind Is="interface"/> | |
| 110 <Or> | |
| 111 <HasAttribute CLRName="System.Runtime.InteropServices.InterfaceTypeA
ttribute"/> | |
| 112 <HasAttribute CLRName="System.Runtime.InteropServices.ComImport"/> | |
| 113 </Or> | |
| 114 </And> | |
| 115 <HasAttribute CLRName="System.Runtime.InteropServices.StructLayoutAttrib
ute"/> | |
| 116 </Or> | |
| 117 </Match> | |
| 118 </Pattern> | |
| 119 | |
| 120 <!--Special formatting of NUnit test fixture--> | |
| 121 <Pattern RemoveAllRegions="true"> | |
| 122 <Match> | |
| 123 <And Weight="100"> | |
| 124 <Kind Is="class"/> | |
| 125 <HasAttribute CLRName="NUnit.Framework.TestFixtureAttribute" Inherit="tr
ue"/> | |
| 126 </And> | |
| 127 </Match> | |
| 128 | |
| 129 <!--Setup/Teardow--> | |
| 130 <Entry> | |
| 131 <Match> | |
| 132 <And> | |
| 133 <Kind Is="method"/> | |
| 134 <Or> | |
| 135 <HasAttribute CLRName="NUnit.Framework.SetUpAttribute" Inherit="true
"/> | |
| 136 <HasAttribute CLRName="NUnit.Framework.TearDownAttribute" Inherit="t
rue"/> | |
| 137 <HasAttribute CLRName="NUnit.Framework.FixtureSetUpAttribute" Inheri
t="true"/> | |
| 138 <HasAttribute CLRName="NUnit.Framework.FixtureTearDownAttribute" Inh
erit="true"/> | |
| 139 </Or> | |
| 140 </And> | |
| 141 </Match> | |
| 142 <Group Region="Setup/Teardown"/> | |
| 143 </Entry> | |
| 144 | |
| 145 <!--All other members--> | |
| 146 <Entry/> | |
| 147 | |
| 148 <!--Test methods--> | |
| 149 <Entry> | |
| 150 <Match> | |
| 151 <And Weight="100"> | |
| 152 <Kind Is="method"/> | |
| 153 <HasAttribute CLRName="NUnit.Framework.TestAttribute" Inherit="false"/
> | |
| 154 </And> | |
| 155 </Match> | |
| 156 <Sort> | |
| 157 <Name/> | |
| 158 </Sort> | |
| 159 </Entry> | |
| 160 </Pattern> | |
| 161 | |
| 162 <!--Default pattern--> | |
| 163 <Pattern> | |
| 164 | |
| 165 <!--public delegate--> | |
| 166 <Entry> | |
| 167 <Match> | |
| 168 <And Weight="100"> | |
| 169 <Access Is="public"/> | |
| 170 <Kind Is="delegate"/> | |
| 171 </And> | |
| 172 </Match> | |
| 173 <Sort> | |
| 174 <Name/> | |
| 175 </Sort> | |
| 176 <Group Region="Delegates"/> | |
| 177 </Entry> | |
| 178 | |
| 179 <!--public enum--> | |
| 180 <Entry> | |
| 181 <Match> | |
| 182 <And Weight="100"> | |
| 183 <Access Is="public"/> | |
| 184 <Kind Is="enum"/> | |
| 185 </And> | |
| 186 </Match> | |
| 187 <Sort> | |
| 188 <Name/> | |
| 189 </Sort> | |
| 190 <Group> | |
| 191 <Name Region="${Name} enum"/> | |
| 192 </Group> | |
| 193 </Entry> | |
| 194 | |
| 195 <!--public constants--> | |
| 196 <Entry> | |
| 197 <Match> | |
| 198 <And Weight="100"> | |
| 199 <Access Is="public"/> | |
| 200 <Kind Is="constant"/> | |
| 201 </And> | |
| 202 </Match> | |
| 203 <Sort> | |
| 204 <Name/> | |
| 205 </Sort> | |
| 206 <Group> | |
| 207 <Name Region="${Name} constants"/> | |
| 208 </Group> | |
| 209 </Entry> | |
| 210 | |
| 211 <!--Constructors. Place static one first--> | |
| 212 <Entry> | |
| 213 <Match> | |
| 214 <Kind Is="constructor"/> | |
| 215 </Match> | |
| 216 <Sort> | |
| 217 <Static/> | |
| 218 </Sort> | |
| 219 </Entry> | |
| 220 | |
| 221 <!--properties, indexers--> | |
| 222 <Entry> | |
| 223 <Match> | |
| 224 <Or> | |
| 225 <Kind Is="property"/> | |
| 226 <Kind Is="indexer"/> | |
| 227 </Or> | |
| 228 </Match> | |
| 229 </Entry> | |
| 230 | |
| 231 <!--public methods--> | |
| 232 <Entry> | |
| 233 <Match> | |
| 234 <And> | |
| 235 <Kind Is="method"/> | |
| 236 <Access Is="public"/> | |
| 237 </And> | |
| 238 </Match> | |
| 239 </Entry> | |
| 240 | |
| 241 <!--interface implementations--> | |
| 242 <Entry> | |
| 243 <Match> | |
| 244 <And Weight="100"> | |
| 245 <Kind Is="member"/> | |
| 246 <ImplementsInterface/> | |
| 247 </And> | |
| 248 </Match> | |
| 249 <Sort> | |
| 250 <ImplementsInterface Immediate="true"/> | |
| 251 </Sort> | |
| 252 <Group> | |
| 253 <ImplementsInterface Immediate="true" Region="${ImplementsInterface} Mem
bers"/> | |
| 254 </Group> | |
| 255 </Entry> | |
| 256 | |
| 257 <!--privates--> | |
| 258 <Entry> | |
| 259 <Match> | |
| 260 <Access Is="private"/> | |
| 261 </Match> | |
| 262 <Sort> | |
| 263 <Kind Order="constant field method"/> | |
| 264 <Static/> | |
| 265 <Readonly/> | |
| 266 <Name/> | |
| 267 </Sort> | |
| 268 <Group> | |
| 269 <Name Region="Private Implementation"/> | |
| 270 </Group> | |
| 271 </Entry> | |
| 272 | |
| 273 <!--all other members--> | |
| 274 <Entry/> | |
| 275 | |
| 276 <!--nested types--> | |
| 277 <Entry> | |
| 278 <Match> | |
| 279 <Kind Is="type"/> | |
| 280 </Match> | |
| 281 <Sort> | |
| 282 <Name/> | |
| 283 </Sort> | |
| 284 <Group> | |
| 285 <Name Region="Nested type: ${Name}"/> | |
| 286 </Group> | |
| 287 </Entry> | |
| 288 </Pattern> | |
| 289 | |
| 290 </Patterns> | |
| 291 ]]></CustomMemberReorderingPatterns> | |
| 292 </CSharp> | |
| 293 <VB> | |
| 294 <FormatSettings /> | |
| 295 <ImportsSettings /> | |
| 296 <Naming2 /> | |
| 297 </VB> | |
| 298 <FileHeader><![CDATA[Copyright 2009 The Native Client Authors. All rights re
served. | |
| 299 | |
| 300 Use of this source code is governed by a BSD-style license that can | |
| 301 | |
| 302 be found in the LICENSE file. | |
| 303 ]]></FileHeader> | |
| 304 <GenerateMemberBody /> | |
| 305 <Naming2> | |
| 306 <ExceptionName IsNull="False"> | |
| 307 </ExceptionName> | |
| 308 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKin
d="Parameters" /> | |
| 309 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKin
d="MethodPropertyEvent" /> | |
| 310 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKin
d="TypesAndNamespaces" /> | |
| 311 <PredefinedRule Inspect="True" Prefix="I" Suffix="" Style="AaBb" ElementKi
nd="Interfaces" /> | |
| 312 <PredefinedRule Inspect="True" Prefix="T" Suffix="" Style="AaBb" ElementKi
nd="TypeParameters" /> | |
| 313 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKin
d="Locals" /> | |
| 314 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" ElementKi
nd="LocalConstants" /> | |
| 315 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKin
d="PublicFields" /> | |
| 316 <PredefinedRule Inspect="True" Prefix="" Suffix="_" Style="aaBb" ElementKi
nd="PrivateInstanceFields" /> | |
| 317 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKin
d="PrivateStaticFields" /> | |
| 318 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" ElementKi
nd="Constants" /> | |
| 319 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" ElementKi
nd="PrivateConstants" /> | |
| 320 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" ElementKi
nd="StaticReadonly" /> | |
| 321 <PredefinedRule Inspect="True" Prefix="k" Suffix="" Style="AaBb" ElementKi
nd="PrivateStaticReadonly" /> | |
| 322 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKin
d="EnumMember" /> | |
| 323 <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKin
d="Other" /> | |
| 324 </Naming2> | |
| 325 </CodeStyleSettings> | |
| 326 </Configuration> | |
| OLD | NEW |