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