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 16
16
namespace Microsoft . Windows . Powershell . ScriptAnalyzer . Generic
17
17
{
18
18
/// <summary>
19
- /// This class extends AstVisitor2 and will skip any typedefinitionast
19
+ /// This class extends AstVisitor and will skip any typedefinitionast
20
20
/// </summary>
21
- public class SkipTypeDefinition : AstVisitor2
21
+ public class SkipTypeDefinition : AstVisitor
22
22
{
23
23
/// <summary>
24
24
/// File name
@@ -30,14 +30,5 @@ public class SkipTypeDefinition : AstVisitor2
30
30
/// </summary>
31
31
public List < DiagnosticRecord > DiagnosticRecords = new List < DiagnosticRecord > ( ) ;
32
32
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
- }
42
33
}
43
34
}
You can’t perform that action at this time.
0 commit comments