Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 56176b4

Browse files
committed
Cleaned up some unnecessary public declarations
1 parent 3b6afc9 commit 56176b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Microsoft.DotNet.CodeFormatting/RuleOrderAttribute.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.DotNet.CodeFormatting
1313
{
1414
[MetadataAttribute]
1515
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
16-
public sealed class SyntaxRuleOrderAttribute : ExportAttribute
16+
internal sealed class SyntaxRuleOrderAttribute : ExportAttribute
1717
{
1818
public SyntaxRuleOrderAttribute(int order)
1919
: base(typeof(ISyntaxFormattingRule))
@@ -27,7 +27,7 @@ public SyntaxRuleOrderAttribute(int order)
2727

2828
[MetadataAttribute]
2929
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
30-
public sealed class LocalSemanticRuleOrderAttribute : ExportAttribute
30+
internal sealed class LocalSemanticRuleOrderAttribute : ExportAttribute
3131
{
3232
public LocalSemanticRuleOrderAttribute(int order)
3333
: base(typeof(ILocalSemanticFormattingRule))
@@ -41,7 +41,7 @@ public LocalSemanticRuleOrderAttribute(int order)
4141

4242
[MetadataAttribute]
4343
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
44-
public sealed class GlobalSemanticRuleOrderAttribute : ExportAttribute
44+
internal sealed class GlobalSemanticRuleOrderAttribute : ExportAttribute
4545
{
4646
public GlobalSemanticRuleOrderAttribute(int order)
4747
: base(typeof(IGlobalSemanticFormattingRule))

src/Microsoft.DotNet.CodeFormatting/Rules/ExplicitThisRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Microsoft.DotNet.CodeFormatting.Rules
1313
{
1414
[LocalSemanticRuleOrder(LocalSemanticRuleOrder.RemoveExplicitThisRule)]
15-
public sealed class ExplicitThisRule : ILocalSemanticFormattingRule
15+
internal sealed class ExplicitThisRule : ILocalSemanticFormattingRule
1616
{
1717
private sealed class ExplicitThisRewriter : CSharpSyntaxRewriter
1818
{

0 commit comments

Comments
 (0)