Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiagnosticRecord does not contain a method named 'op_Addition' #18

Open
RD-Processa opened this issue Jan 16, 2018 · 0 comments
Open

DiagnosticRecord does not contain a method named 'op_Addition' #18

RD-Processa opened this issue Jan 16, 2018 · 0 comments

Comments

@RD-Processa
Copy link

Invoke-PSCodeHealth throws 'MethodNotFound' when a module that containst PowerShell classes is analyzed

Method invocation failed because [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord] does not contain a method named 'op_Addition'.
At C:\Program Files\WindowsPowerShell\Modules\PSCodeHealth\0.2.9\Private\New-PSCodeHealthReport.ps1:82 char:13
+             $AllScriptAnalyzerResults = ($FunctionHealthRecord.Script ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (op_Addition:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound
  • Environment: Windows PowerShell 5.1.14409.1012 running Windows 8.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant