Skip to content

Commit d637c37

Browse files
author
Kapil Borle
committed
Explicitely declare AlignAssignmentStatement class as public
If we do not put the public qualifier in front of a class definition, .net core interprets it as internal. .net framework on the other hand defaults to public. Hence, we need to make the access qualifier explicit.
1 parent ec2111c commit d637c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/AlignAssignmentStatement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
2626
#if !CORECLR
2727
[Export(typeof(IScriptRule))]
2828
#endif
29-
class AlignAssignmentStatement : ConfigurableRule
29+
public class AlignAssignmentStatement : ConfigurableRule
3030
{
3131
// We keep this switch even though the rule has only one switch (this) as of now, because we want
3232
// to let the rule be expandable in the future to allow formatting assignments even

0 commit comments

Comments
 (0)