diff options
Diffstat (limited to 'main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies')
7 files changed, 132 insertions, 932 deletions
diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/AllmanCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/AllmanCSharpPolicy.xml index be1a18f6b7..f346f57e49 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/AllmanCSharpPolicy.xml +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/AllmanCSharpPolicy.xml @@ -27,138 +27,48 @@ THE SOFTWARE. --> <CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>True</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting> - <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting> - <NamespaceBraceStyle>NextLine</NamespaceBraceStyle> - <ClassBraceStyle>NextLine</ClassBraceStyle> - <InterfaceBraceStyle>NextLine</InterfaceBraceStyle> - <StructBraceStyle>NextLine</StructBraceStyle> - <EnumBraceStyle>NextLine</EnumBraceStyle> - <MethodBraceStyle>NextLine</MethodBraceStyle> - <AnonymousMethodBraceStyle>NextLine</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLine</ConstructorBraceStyle> - <DestructorBraceStyle>NextLine</DestructorBraceStyle> - <PropertyBraceStyle>NextLine</PropertyBraceStyle> - <PropertyGetBraceStyle>NextLine</PropertyGetBraceStyle> - <PropertySetBraceStyle>NextLine</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>NextLine</EventBraceStyle> - <EventAddBraceStyle>NextLine</EventAddBraceStyle> - <EventRemoveBraceStyle>NextLine</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>NextLine</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>NewLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>NewLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>NewLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>DoNotCare</WhileNewLinePlacement> - <ArrayInitializerWrapping>DoNotChange</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>NextLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>False</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>False</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives> - <IndentBlocksInsideExpressions>True</IndentBlocksInsideExpressions> + <IndentBlock>True</IndentBlock> + <IndentBraces>False</IndentBraces> + <IndentSwitchSection>True</IndentSwitchSection> + <IndentSwitchCaseSection>True</IndentSwitchCaseSection> + <LabelPositioning>OneLess</LabelPositioning> + <NewLinesForBracesInTypes>True</NewLinesForBracesInTypes> + <NewLinesForBracesInMethods>True</NewLinesForBracesInMethods> + <NewLinesForBracesInAnonymousMethods>True</NewLinesForBracesInAnonymousMethods> + <NewLinesForBracesInControlBlocks>True</NewLinesForBracesInControlBlocks> + <NewLinesForBracesInAnonymousTypes>True</NewLinesForBracesInAnonymousTypes> + <NewLinesForBracesInObjectInitializers>True</NewLinesForBracesInObjectInitializers> + <NewLinesForBracesInLambdaExpressionBody>True</NewLinesForBracesInLambdaExpressionBody> + <NewLineForElse>True</NewLineForElse> + <NewLineForCatch>True</NewLineForCatch> + <NewLineForFinally>True</NewLineForFinally> + <NewLineForMembersInObjectInit>True</NewLineForMembersInObjectInit> + <NewLineForMembersInAnonymousTypes>True</NewLineForMembersInAnonymousTypes> + <NewLineForClausesInQuery>True</NewLineForClausesInQuery> + <SpacingAfterMethodDeclarationName>False</SpacingAfterMethodDeclarationName> + <SpaceWithinMethodDeclarationParenthesis>False</SpaceWithinMethodDeclarationParenthesis> + <SpaceBetweenEmptyMethodDeclarationParentheses>False</SpaceBetweenEmptyMethodDeclarationParentheses> + <SpaceAfterMethodCallName>False</SpaceAfterMethodCallName> + <SpaceWithinMethodCallParentheses>False</SpaceWithinMethodCallParentheses> + <SpaceBetweenEmptyMethodCallParentheses>False</SpaceBetweenEmptyMethodCallParentheses> + <SpaceAfterControlFlowStatementKeyword>True</SpaceAfterControlFlowStatementKeyword> + <SpaceWithinExpressionParentheses>False</SpaceWithinExpressionParentheses> + <SpaceWithinCastParentheses>False</SpaceWithinCastParentheses> + <SpaceWithinOtherParentheses>False</SpaceWithinOtherParentheses> + <SpaceAfterCast>False</SpaceAfterCast> + <SpacesIgnoreAroundVariableDeclaration>False</SpacesIgnoreAroundVariableDeclaration> + <SpaceBeforeOpenSquareBracket>False</SpaceBeforeOpenSquareBracket> + <SpaceBetweenEmptySquareBrackets>False</SpaceBetweenEmptySquareBrackets> + <SpaceWithinSquareBrackets>False</SpaceWithinSquareBrackets> + <SpaceAfterColonInBaseTypeDeclaration>True</SpaceAfterColonInBaseTypeDeclaration> + <SpaceAfterComma>True</SpaceAfterComma> + <SpaceAfterDot>False</SpaceAfterDot> + <SpaceAfterSemicolonsInForStatement>True</SpaceAfterSemicolonsInForStatement> + <SpaceBeforeColonInBaseTypeDeclaration>True</SpaceBeforeColonInBaseTypeDeclaration> + <SpaceBeforeComma>False</SpaceBeforeComma> + <SpaceBeforeDot>False</SpaceBeforeDot> + <SpaceBeforeSemicolonsInForStatement>False</SpaceBeforeSemicolonsInForStatement> + <SpacingAroundBinaryOperator>Single</SpacingAroundBinaryOperator> + <WrappingPreserveSingleLine>True</WrappingPreserveSingleLine> + <WrappingKeepStatementsOnSingleLine>True</WrappingKeepStatementsOnSingleLine> </CSharpFormattingPolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUCSharpPolicy.xml deleted file mode 100644 index a40b19ac24..0000000000 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUCSharpPolicy.xml +++ /dev/null @@ -1,163 +0,0 @@ -<!-- - -GNUCSharpPolicy.xml - -Author: - Mike Krüger <mkrueger@xamarin.com> - -Copyright (c) 2012 Xamarin Inc. (http://xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ---> - - -<CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>True</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <PropertyFormatting>AllowOneLine</PropertyFormatting> - <NamespaceBraceStyle>NextLine</NamespaceBraceStyle> - <ClassBraceStyle>NextLine</ClassBraceStyle> - <InterfaceBraceStyle>NextLine</InterfaceBraceStyle> - <StructBraceStyle>NextLine</StructBraceStyle> - <EnumBraceStyle>NextLine</EnumBraceStyle> - <MethodBraceStyle>NextLine</MethodBraceStyle> - <AnonymousMethodBraceStyle>EndOfLine</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLine</ConstructorBraceStyle> - <DestructorBraceStyle>NextLine</DestructorBraceStyle> - <PropertyBraceStyle>EndOfLine</PropertyBraceStyle> - <PropertyGetBraceStyle>EndOfLine</PropertyGetBraceStyle> - <PropertySetBraceStyle>EndOfLine</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>EndOfLine</EventBraceStyle> - <EventAddBraceStyle>EndOfLine</EventAddBraceStyle> - <EventRemoveBraceStyle>EndOfLine</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>NextLineShifted2</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>SameLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>SameLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>SameLine</WhileNewLinePlacement> - <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>False</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>False</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentBlocksInsideExpressions>False</IndentBlocksInsideExpressions> -</CSharpFormattingPolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUTextStylePolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUTextStylePolicy.xml deleted file mode 100644 index e04fa3260f..0000000000 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/GNUTextStylePolicy.xml +++ /dev/null @@ -1,37 +0,0 @@ -<!-- - -GNUTextStylePolicy.xml - -Author: - Mike Krüger <mkrueger@xamarin.com> - -Copyright (c) 2012 Xamarin Inc. (http://xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ---> - -<TextStylePolicy scope="text/x-csharp"> - <FileWidth>120</FileWidth> - <TabWidth>4</TabWidth> - <IndentWidth>2</IndentWidth> - <TabsToSpaces>True</TabsToSpaces> - <NoTabsAfterNonTabs>False</NoTabsAfterNonTabs> - <RemoveTrailingWhitespace>True</RemoveTrailingWhitespace> - <EolMarker>Unix</EolMarker> -</TextStylePolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml index b9f7b6b8a6..92cb6cd61e 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml @@ -27,138 +27,48 @@ THE SOFTWARE. --> <CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>True</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting> - <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting> - <NamespaceBraceStyle>NextLine</NamespaceBraceStyle> - <ClassBraceStyle>NextLine</ClassBraceStyle> - <InterfaceBraceStyle>NextLine</InterfaceBraceStyle> - <StructBraceStyle>NextLine</StructBraceStyle> - <EnumBraceStyle>NextLine</EnumBraceStyle> - <MethodBraceStyle>NextLine</MethodBraceStyle> - <AnonymousMethodBraceStyle>EndOfLine</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLine</ConstructorBraceStyle> - <DestructorBraceStyle>NextLine</DestructorBraceStyle> - <PropertyBraceStyle>EndOfLine</PropertyBraceStyle> - <PropertyGetBraceStyle>EndOfLine</PropertyGetBraceStyle> - <PropertySetBraceStyle>EndOfLine</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>EndOfLine</EventBraceStyle> - <EventAddBraceStyle>EndOfLine</EventAddBraceStyle> - <EventRemoveBraceStyle>EndOfLine</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>EndOfLine</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>SameLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>SameLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>SameLine</WhileNewLinePlacement> - <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>False</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>False</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives> - <IndentBlocksInsideExpressions>False</IndentBlocksInsideExpressions> + <IndentBlock>True</IndentBlock> + <IndentBraces>False</IndentBraces> + <IndentSwitchSection>True</IndentSwitchSection> + <IndentSwitchCaseSection>True</IndentSwitchCaseSection> + <LabelPositioning>OneLess</LabelPositioning> + <NewLinesForBracesInTypes>True</NewLinesForBracesInTypes> + <NewLinesForBracesInMethods>True</NewLinesForBracesInMethods> + <NewLinesForBracesInAnonymousMethods>False</NewLinesForBracesInAnonymousMethods> + <NewLinesForBracesInControlBlocks>False</NewLinesForBracesInControlBlocks> + <NewLinesForBracesInAnonymousTypes>False</NewLinesForBracesInAnonymousTypes> + <NewLinesForBracesInObjectInitializers>False</NewLinesForBracesInObjectInitializers> + <NewLinesForBracesInLambdaExpressionBody>False</NewLinesForBracesInLambdaExpressionBody> + <NewLineForElse>False</NewLineForElse> + <NewLineForCatch>False</NewLineForCatch> + <NewLineForFinally>False</NewLineForFinally> + <NewLineForMembersInObjectInit>False</NewLineForMembersInObjectInit> + <NewLineForMembersInAnonymousTypes>False</NewLineForMembersInAnonymousTypes> + <NewLineForClausesInQuery>False</NewLineForClausesInQuery> + <SpacingAfterMethodDeclarationName>False</SpacingAfterMethodDeclarationName> + <SpaceWithinMethodDeclarationParenthesis>False</SpaceWithinMethodDeclarationParenthesis> + <SpaceBetweenEmptyMethodDeclarationParentheses>False</SpaceBetweenEmptyMethodDeclarationParentheses> + <SpaceAfterMethodCallName>False</SpaceAfterMethodCallName> + <SpaceWithinMethodCallParentheses>False</SpaceWithinMethodCallParentheses> + <SpaceBetweenEmptyMethodCallParentheses>False</SpaceBetweenEmptyMethodCallParentheses> + <SpaceAfterControlFlowStatementKeyword>True</SpaceAfterControlFlowStatementKeyword> + <SpaceWithinExpressionParentheses>False</SpaceWithinExpressionParentheses> + <SpaceWithinCastParentheses>False</SpaceWithinCastParentheses> + <SpaceWithinOtherParentheses>False</SpaceWithinOtherParentheses> + <SpaceAfterCast>False</SpaceAfterCast> + <SpacesIgnoreAroundVariableDeclaration>False</SpacesIgnoreAroundVariableDeclaration> + <SpaceBeforeOpenSquareBracket>False</SpaceBeforeOpenSquareBracket> + <SpaceBetweenEmptySquareBrackets>False</SpaceBetweenEmptySquareBrackets> + <SpaceWithinSquareBrackets>False</SpaceWithinSquareBrackets> + <SpaceAfterColonInBaseTypeDeclaration>True</SpaceAfterColonInBaseTypeDeclaration> + <SpaceAfterComma>True</SpaceAfterComma> + <SpaceAfterDot>False</SpaceAfterDot> + <SpaceAfterSemicolonsInForStatement>True</SpaceAfterSemicolonsInForStatement> + <SpaceBeforeColonInBaseTypeDeclaration>True</SpaceBeforeColonInBaseTypeDeclaration> + <SpaceBeforeComma>False</SpaceBeforeComma> + <SpaceBeforeDot>False</SpaceBeforeDot> + <SpaceBeforeSemicolonsInForStatement>False</SpaceBeforeSemicolonsInForStatement> + <SpacingAroundBinaryOperator>Single</SpacingAroundBinaryOperator> + <WrappingPreserveSingleLine>True</WrappingPreserveSingleLine> + <WrappingKeepStatementsOnSingleLine>True</WrappingKeepStatementsOnSingleLine> </CSharpFormattingPolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/MonoCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/MonoCSharpPolicy.xml index 9924d6f2c3..1a9b87ab52 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/MonoCSharpPolicy.xml +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/MonoCSharpPolicy.xml @@ -27,140 +27,48 @@ THE SOFTWARE. --> <CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="True"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>False</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting> - <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting> - <NamespaceBraceStyle>NextLine</NamespaceBraceStyle> - <ClassBraceStyle>NextLine</ClassBraceStyle> - <InterfaceBraceStyle>NextLine</InterfaceBraceStyle> - <StructBraceStyle>NextLine</StructBraceStyle> - <EnumBraceStyle>NextLine</EnumBraceStyle> - <MethodBraceStyle>NextLine</MethodBraceStyle> - <AnonymousMethodBraceStyle>EndOfLine</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLine</ConstructorBraceStyle> - <DestructorBraceStyle>NextLine</DestructorBraceStyle> - <PropertyBraceStyle>EndOfLine</PropertyBraceStyle> - <PropertyGetBraceStyle>EndOfLine</PropertyGetBraceStyle> - <PropertySetBraceStyle>EndOfLine</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>EndOfLine</EventBraceStyle> - <EventAddBraceStyle>EndOfLine</EventAddBraceStyle> - <EventRemoveBraceStyle>EndOfLine</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>EndOfLine</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>SameLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>SameLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>SameLine</WhileNewLinePlacement> - <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>True</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>True</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>True</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>DoNotCare</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>DoNotCare</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>True</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>True</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>True</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives> - <AlignToFirstIndexerArgument>False</AlignToFirstIndexerArgument> - <AlignToFirstMethodCallArgument>False</AlignToFirstMethodCallArgument> - <IndentBlocksInsideExpressions>False</IndentBlocksInsideExpressions> + <IndentBlock>True</IndentBlock> + <IndentBraces>False</IndentBraces> + <IndentSwitchSection>False</IndentSwitchSection> + <IndentSwitchCaseSection>True</IndentSwitchCaseSection> + <LabelPositioning>OneLess</LabelPositioning> + <NewLinesForBracesInTypes>True</NewLinesForBracesInTypes> + <NewLinesForBracesInMethods>True</NewLinesForBracesInMethods> + <NewLinesForBracesInAnonymousMethods>False</NewLinesForBracesInAnonymousMethods> + <NewLinesForBracesInControlBlocks>False</NewLinesForBracesInControlBlocks> + <NewLinesForBracesInAnonymousTypes>False</NewLinesForBracesInAnonymousTypes> + <NewLinesForBracesInObjectInitializers>False</NewLinesForBracesInObjectInitializers> + <NewLinesForBracesInLambdaExpressionBody>False</NewLinesForBracesInLambdaExpressionBody> + <NewLineForElse>False</NewLineForElse> + <NewLineForCatch>False</NewLineForCatch> + <NewLineForFinally>False</NewLineForFinally> + <NewLineForMembersInObjectInit>False</NewLineForMembersInObjectInit> + <NewLineForMembersInAnonymousTypes>False</NewLineForMembersInAnonymousTypes> + <NewLineForClausesInQuery>False</NewLineForClausesInQuery> + <SpacingAfterMethodDeclarationName>True</SpacingAfterMethodDeclarationName> + <SpaceWithinMethodDeclarationParenthesis>False</SpaceWithinMethodDeclarationParenthesis> + <SpaceBetweenEmptyMethodDeclarationParentheses>False</SpaceBetweenEmptyMethodDeclarationParentheses> + <SpaceAfterMethodCallName>True</SpaceAfterMethodCallName> + <SpaceWithinMethodCallParentheses>False</SpaceWithinMethodCallParentheses> + <SpaceBetweenEmptyMethodCallParentheses>False</SpaceBetweenEmptyMethodCallParentheses> + <SpaceAfterControlFlowStatementKeyword>True</SpaceAfterControlFlowStatementKeyword> + <SpaceWithinExpressionParentheses>False</SpaceWithinExpressionParentheses> + <SpaceWithinCastParentheses>False</SpaceWithinCastParentheses> + <SpaceWithinOtherParentheses>False</SpaceWithinOtherParentheses> + <SpaceAfterCast>False</SpaceAfterCast> + <SpacesIgnoreAroundVariableDeclaration>False</SpacesIgnoreAroundVariableDeclaration> + <SpaceBeforeOpenSquareBracket>True</SpaceBeforeOpenSquareBracket> + <SpaceBetweenEmptySquareBrackets>False</SpaceBetweenEmptySquareBrackets> + <SpaceWithinSquareBrackets>False</SpaceWithinSquareBrackets> + <SpaceAfterColonInBaseTypeDeclaration>True</SpaceAfterColonInBaseTypeDeclaration> + <SpaceAfterComma>True</SpaceAfterComma> + <SpaceAfterDot>False</SpaceAfterDot> + <SpaceAfterSemicolonsInForStatement>True</SpaceAfterSemicolonsInForStatement> + <SpaceBeforeColonInBaseTypeDeclaration>True</SpaceBeforeColonInBaseTypeDeclaration> + <SpaceBeforeComma>False</SpaceBeforeComma> + <SpaceBeforeDot>False</SpaceBeforeDot> + <SpaceBeforeSemicolonsInForStatement>False</SpaceBeforeSemicolonsInForStatement> + <SpacingAroundBinaryOperator>Single</SpacingAroundBinaryOperator> + <WrappingPreserveSingleLine>True</WrappingPreserveSingleLine> + <WrappingKeepStatementsOnSingleLine>True</WrappingKeepStatementsOnSingleLine> </CSharpFormattingPolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/SharpDevelopCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/SharpDevelopCSharpPolicy.xml deleted file mode 100644 index 396628950f..0000000000 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/SharpDevelopCSharpPolicy.xml +++ /dev/null @@ -1,164 +0,0 @@ -<!-- - -SharpDevelopCSharpPolicy.xml - -Author: - Mike Krüger <mkrueger@xamarin.com> - -Copyright (c) 2012 Xamarin Inc. (http://xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ---> - -<CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>True</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting> - <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting> - <NamespaceBraceStyle>NextLine</NamespaceBraceStyle> - <ClassBraceStyle>NextLine</ClassBraceStyle> - <InterfaceBraceStyle>NextLine</InterfaceBraceStyle> - <StructBraceStyle>NextLine</StructBraceStyle> - <EnumBraceStyle>NextLine</EnumBraceStyle> - <MethodBraceStyle>NextLine</MethodBraceStyle> - <AnonymousMethodBraceStyle>EndOfLine</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLine</ConstructorBraceStyle> - <DestructorBraceStyle>NextLine</DestructorBraceStyle> - <PropertyBraceStyle>EndOfLine</PropertyBraceStyle> - <PropertyGetBraceStyle>EndOfLine</PropertyGetBraceStyle> - <PropertySetBraceStyle>EndOfLine</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>EndOfLine</EventBraceStyle> - <EventAddBraceStyle>EndOfLine</EventAddBraceStyle> - <EventRemoveBraceStyle>EndOfLine</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>EndOfLine</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>SameLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>SameLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>SameLine</WhileNewLinePlacement> - <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>False</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>False</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives> - <IndentBlocksInsideExpressions>False</IndentBlocksInsideExpressions> -</CSharpFormattingPolicy>
\ No newline at end of file diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/WhitesmithsCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/WhitesmithsCSharpPolicy.xml deleted file mode 100644 index f4ed3e864e..0000000000 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/WhitesmithsCSharpPolicy.xml +++ /dev/null @@ -1,164 +0,0 @@ -<!-- - -WhitesmithsCSharpPolicy.xml - -Author: - Mike Krüger <mkrueger@xamarin.com> - -Copyright (c) 2012 Xamarin Inc. (http://xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ---> - -<CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False"> - <IndentNamespaceBody>True</IndentNamespaceBody> - <IndentClassBody>True</IndentClassBody> - <IndentInterfaceBody>True</IndentInterfaceBody> - <IndentStructBody>True</IndentStructBody> - <IndentEnumBody>True</IndentEnumBody> - <IndentMethodBody>True</IndentMethodBody> - <IndentPropertyBody>True</IndentPropertyBody> - <IndentEventBody>True</IndentEventBody> - <IndentBlocks>True</IndentBlocks> - <IndentSwitchBody>True</IndentSwitchBody> - <IndentCaseBody>True</IndentCaseBody> - <IndentBreakStatements>True</IndentBreakStatements> - <AlignEmbeddedStatements>True</AlignEmbeddedStatements> - <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting> - <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting> - <NamespaceBraceStyle>NextLineShifted</NamespaceBraceStyle> - <ClassBraceStyle>NextLineShifted</ClassBraceStyle> - <InterfaceBraceStyle>NextLineShifted</InterfaceBraceStyle> - <StructBraceStyle>NextLineShifted</StructBraceStyle> - <EnumBraceStyle>NextLineShifted</EnumBraceStyle> - <MethodBraceStyle>NextLineShifted</MethodBraceStyle> - <AnonymousMethodBraceStyle>NextLineShifted</AnonymousMethodBraceStyle> - <ConstructorBraceStyle>NextLineShifted</ConstructorBraceStyle> - <DestructorBraceStyle>NextLineShifted</DestructorBraceStyle> - <PropertyBraceStyle>NextLineShifted</PropertyBraceStyle> - <PropertyGetBraceStyle>NextLineShifted</PropertyGetBraceStyle> - <PropertySetBraceStyle>NextLineShifted</PropertySetBraceStyle> - <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting> - <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting> - <EventBraceStyle>NextLineShifted</EventBraceStyle> - <EventAddBraceStyle>NextLineShifted</EventAddBraceStyle> - <EventRemoveBraceStyle>NextLineShifted</EventRemoveBraceStyle> - <AllowEventAddBlockInline>True</AllowEventAddBlockInline> - <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline> - <StatementBraceStyle>NextLineShifted</StatementBraceStyle> - <AllowIfBlockInline>False</AllowIfBlockInline> - <ElseNewLinePlacement>SameLine</ElseNewLinePlacement> - <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement> - <CatchNewLinePlacement>SameLine</CatchNewLinePlacement> - <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement> - <WhileNewLinePlacement>SameLine</WhileNewLinePlacement> - <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping> - <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle> - <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn> - <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses> - <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses> - <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma> - <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma> - <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses> - <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses> - <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses> - <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma> - <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma> - <WithinMethodCallParentheses>False</WithinMethodCallParentheses> - <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma> - <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma> - <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma> - <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma> - <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses> - <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses> - <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma> - <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma> - <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses> - <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon> - <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon> - <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket> - <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket> - <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma> - <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma> - <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses> - <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses> - <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma> - <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma> - <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses> - <NewParentheses>False</NewParentheses> - <IfParentheses>True</IfParentheses> - <WhileParentheses>True</WhileParentheses> - <ForParentheses>True</ForParentheses> - <ForeachParentheses>True</ForeachParentheses> - <CatchParentheses>True</CatchParentheses> - <SwitchParentheses>True</SwitchParentheses> - <LockParentheses>True</LockParentheses> - <UsingParentheses>True</UsingParentheses> - <AroundAssignmentParentheses>True</AroundAssignmentParentheses> - <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses> - <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses> - <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses> - <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses> - <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses> - <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses> - <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses> - <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator> - <WithinParentheses>False</WithinParentheses> - <WithinIfParentheses>False</WithinIfParentheses> - <WithinWhileParentheses>False</WithinWhileParentheses> - <WithinForParentheses>False</WithinForParentheses> - <WithinForEachParentheses>False</WithinForEachParentheses> - <WithinCatchParentheses>False</WithinCatchParentheses> - <WithinSwitchParentheses>False</WithinSwitchParentheses> - <WithinLockParentheses>False</WithinLockParentheses> - <WithinUsingParentheses>False</WithinUsingParentheses> - <WithinCastParentheses>False</WithinCastParentheses> - <WithinSizeOfParentheses>False</WithinSizeOfParentheses> - <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses> - <WithinTypeOfParentheses>False</WithinTypeOfParentheses> - <WithinNewParentheses>False</WithinNewParentheses> - <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses> - <BeforeNewParameterComma>False</BeforeNewParameterComma> - <AfterNewParameterComma>True</AfterNewParameterComma> - <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses> - <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses> - <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace> - <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace> - <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace> - <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace> - <SpacesWithinBrackets>False</SpacesWithinBrackets> - <SpacesBeforeBrackets>False</SpacesBeforeBrackets> - <BeforeBracketComma>False</BeforeBracketComma> - <AfterBracketComma>True</AfterBracketComma> - <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon> - <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon> - <SpacesAfterTypecast>False</SpacesAfterTypecast> - <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets> - <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings> - <BlankLinesAfterUsings>1</BlankLinesAfterUsings> - <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration> - <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes> - <BlankLinesBetweenFields>0</BlankLinesBetweenFields> - <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields> - <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers> - <BlankLinesInsideRegion>1</BlankLinesInsideRegion> - <BlankLinesAroundRegion>1</BlankLinesAroundRegion> - <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives> - <IndentBlocksInsideExpressions>True</IndentBlocksInsideExpressions> -</CSharpFormattingPolicy>
\ No newline at end of file |