2018-06-04 05:41:10 +00:00
|
|
|
<StyleCopSettings Version="105">
|
|
|
|
<Analyzers>
|
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.MaintainabilityRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="FileMayOnlyContainASingleNamespace">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileMayOnlyContainASingleClass">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2019-04-03 05:09:56 +00:00
|
|
|
<Rule Name="FieldsMustBePrivate">
|
|
|
|
<!-- it's OK to have internal or public fields -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="CodeAnalysisSuppressionMustHaveJustification">
|
|
|
|
<!-- code analysis SuppressMessage attributes are from legacy code,
|
|
|
|
it's OK to not include a justification. -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2018-06-04 05:41:10 +00:00
|
|
|
</Rules>
|
|
|
|
<AnalyzerSettings />
|
|
|
|
</Analyzer>
|
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.ReadabilityRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="PrefixLocalCallsWithThis">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="PrefixCallsCorrectly">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
</Rules>
|
|
|
|
<AnalyzerSettings />
|
|
|
|
</Analyzer>
|
2018-06-05 11:32:06 +00:00
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="ElementsMustBeDocumented">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="PartialElementsMustBeDocumented">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="DocumentationTextMustBeginWithACapitalLetter">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">True</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="DocumentationTextMustEndWithAPeriod">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">True</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderMustShowCopyright">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderMustHaveCopyrightText">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderMustContainFileName">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderFileNameDocumentationMustMatchFileName">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderMustHaveValidCompanyText">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FileHeaderFileNameDocumentationMustMatchTypeName">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
</Rules>
|
2019-04-03 05:09:56 +00:00
|
|
|
<AnalyzerSettings>
|
|
|
|
<BooleanProperty Name="IgnorePrivates">True</BooleanProperty>
|
|
|
|
<BooleanProperty Name="IgnoreInternals">True</BooleanProperty>
|
|
|
|
</AnalyzerSettings>
|
2018-06-05 11:32:06 +00:00
|
|
|
</Analyzer>
|
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.NamingRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="FieldNamesMustNotBeginWithUnderscore">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2019-04-03 05:09:56 +00:00
|
|
|
<Rule Name="VariableNamesMustNotBePrefixed">
|
|
|
|
<!-- this rule disallows the prefix 's_' to static fields -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="StaticReadonlyFieldsMustBeginWithUpperCaseLetter">
|
|
|
|
<!-- this rule requires first letter upper-case even for private fields -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="FieldNamesMustNotContainUnderscore">
|
|
|
|
<!-- this rule disallows '_' in field name -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2018-06-05 11:32:06 +00:00
|
|
|
</Rules>
|
2019-04-05 17:56:21 +00:00
|
|
|
<AnalyzerSettings>
|
|
|
|
<CollectionProperty Name="Hungarian">
|
|
|
|
<Value>as</Value>
|
|
|
|
<Value>at</Value>
|
|
|
|
<Value>by</Value>
|
|
|
|
<Value>do</Value>
|
|
|
|
<Value>go</Value>
|
|
|
|
<Value>if</Value>
|
|
|
|
<Value>in</Value>
|
|
|
|
<Value>is</Value>
|
|
|
|
<Value>it</Value>
|
|
|
|
<Value>no</Value>
|
|
|
|
<Value>of</Value>
|
|
|
|
<Value>on</Value>
|
|
|
|
<Value>or</Value>
|
|
|
|
<Value>to</Value>
|
|
|
|
<Value>n</Value>
|
|
|
|
<Value>r</Value>
|
|
|
|
<Value>l</Value>
|
|
|
|
<Value>i</Value>
|
|
|
|
<Value>io</Value>
|
|
|
|
<Value>fs</Value>
|
|
|
|
<Value>lp</Value>
|
|
|
|
<Value>dw</Value>
|
|
|
|
<Value>h</Value>
|
|
|
|
<Value>rs</Value>
|
|
|
|
<Value>ps</Value>
|
|
|
|
<Value>op</Value>
|
2019-07-08 17:21:47 +00:00
|
|
|
<Value>sb</Value>
|
2019-04-05 17:56:21 +00:00
|
|
|
</CollectionProperty>
|
|
|
|
</AnalyzerSettings>
|
2018-06-05 11:32:06 +00:00
|
|
|
</Analyzer>
|
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.OrderingRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="UsingDirectivesMustBePlacedWithinNamespace">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="ElementsMustAppearInTheCorrectOrder">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="ElementsMustBeOrderedByAccess">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="ConstantsMustAppearBeforeFields">
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2019-04-03 05:09:56 +00:00
|
|
|
<Rule Name="StaticElementsMustAppearBeforeInstanceElements">
|
|
|
|
<!-- it's OK to have static members after instance members -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
</Rules>
|
|
|
|
<AnalyzerSettings />
|
|
|
|
</Analyzer>
|
|
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.LayoutRules">
|
|
|
|
<Rules>
|
|
|
|
<Rule Name="ElementMustNotBeOnSingleLine">
|
|
|
|
<!-- it's OK to have simple member on a single line.
|
|
|
|
think about the 'Visit*' methods in Ast visitor class. -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
|
|
|
<Rule Name="AllAccessorsMustBeSingleLineOrMultiLine">
|
|
|
|
<!-- it's OK to have the getter be on a single line and the
|
|
|
|
setter be on multiple lines, or vice versa -->
|
|
|
|
<RuleSettings>
|
|
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
|
|
</RuleSettings>
|
|
|
|
</Rule>
|
2018-06-05 11:32:06 +00:00
|
|
|
</Rules>
|
|
|
|
<AnalyzerSettings />
|
|
|
|
</Analyzer>
|
2018-06-04 05:41:10 +00:00
|
|
|
</Analyzers>
|
|
|
|
</StyleCopSettings>
|