File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 1616namespace Microsoft . Windows . Powershell . ScriptAnalyzer . Generic
1717{
1818 /// <summary>
19- /// This class extends AstVisitor2 and will skip any typedefinitionast
19+ /// This class extends AstVisitor and will skip any typedefinitionast
2020 /// </summary>
21- public class SkipTypeDefinition : AstVisitor2
21+ public class SkipTypeDefinition : AstVisitor
2222 {
2323 /// <summary>
2424 /// File name
@@ -30,14 +30,5 @@ public class SkipTypeDefinition : AstVisitor2
3030 /// </summary>
3131 public List < DiagnosticRecord > DiagnosticRecords = new List < DiagnosticRecord > ( ) ;
3232
33- /// <summary>
34- /// Skip typedefinition
35- /// </summary>
36- /// <param name="typeDefAst"></param>
37- /// <returns></returns>
38- public override AstVisitAction VisitTypeDefinition ( TypeDefinitionAst typeDefAst )
39- {
40- return AstVisitAction . SkipChildren ;
41- }
4233 }
4334}
You can’t perform that action at this time.
0 commit comments