File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ private DiagnosticRecord GetViolation(Vertex v)
170
170
{
171
171
if ( callsShouldProcess )
172
172
{
173
- // check if upstream function declares SupportShouldProcess\
173
+ // check if upstream function declares SupportShouldProcess
174
174
// if so, this might just be a helper function
175
175
// do not flag this case
176
176
if ( UpstreamDeclaresShouldProcess ( v ) )
@@ -515,16 +515,6 @@ public override AstVisitAction VisitCommand(CommandAst ast)
515
515
return AstVisitAction . Continue ;
516
516
}
517
517
518
- // if command is part of a binary module
519
- // for now just check if (Get-Command <CommandName>).DLL end with dll extension
520
- // if so, check if it declares SupportsShouldProcess
521
- // if so, then assume it also calls ShouldProcess
522
- // because we do not have a way to analyze its definition
523
- // to actually verify it is indeed calling ShouddProcess
524
-
525
- // if (IsPartOfBinaryModule(cmdName, out cmdInfo))
526
- // if (HasSupportShouldProcessAttribute(cmdInfo))
527
- // AddEdge(cmdName, shouldProcessVertex)
528
518
var vertex = new Vertex ( cmdName , ast ) ;
529
519
AddVertex ( vertex ) ;
530
520
if ( IsWithinFunctionDefinition ( ) )
You can’t perform that action at this time.
0 commit comments