File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 44
55##Description
66
7- Invoking non-constant members would cause potential bugs. Please double check the syntax to make sure members invoked are non-constant .
7+ Invoking non-constant members would cause potential bugs. Please double check the syntax to make sure that invoked members are constants .
88
99
1010##How to Fix
Original file line number Diff line number Diff line change 2020
2121namespace Microsoft . Windows . PowerShell . ScriptAnalyzer . BuiltinRules
2222{
23+ // Rule name is inconsistent.
2324 /// <summary>
24- /// AvoidAlias: Check if cmdlet alias is used .
25- /// </summary>
25+ /// AvoidInvokingEmptyMembers: Analyzes the script to check if any non-constant members have been invoked .
26+ /// </summary>
2627 [ Export ( typeof ( IScriptRule ) ) ]
2728 public class AvoidInvokingEmptyMembers : IScriptRule
2829 {
2930 /// <summary>
30- /// AnalyzeScript: Analyze the script to check if any empty members has been invoked.
31+ /// AnalyzeScript: Analyzes the script to check if any non-constant members have been invoked.
3132 /// </summary>
3233 public IEnumerable < DiagnosticRecord > AnalyzeScript ( Ast ast , string fileName )
3334 {
You can’t perform that action at this time.
0 commit comments