I'm writing PowerShell in VSCode. I have a module that has a class in it, then I am using that class in a script that has using at the top.

```
#Requires -Version 5
using module VrVsts
Set-StrictMode -Version latest
class VegaConfig
{
    [PSObject] $Project
    [PSObject] $User

    VegaConfig() {
        . "$PSScriptRoot\Get-UserPreferences.ps1"

        $this.project = [PSCustomObject](Get-Content "$PSScriptRoot\ProjectConfig.json" | ConvertFrom-Json)
        $this.user = Get-UserPreferences -RegistrySubfolder $this.project.UserPreferencesRegistryPath
    }
    [Diagnostics.CodeAnalysis.SuppressMessageAttribute("TypeNotFound", "", Target='VstsConnection', Justification='Parser Not good enough to detect this')]

#** Warnings are here
    [VstsConnection] VstsConnection() {
        return ([VstsConnection]::New($this.project.VstsUrl, $this.user.Credential))
    }
}

```

It works fine but the warning is annoying as it makes my file red and could hide other legitimate problems with the file. The warning is:

> 
> [PowerShell] unable to find type [VstsConnection]  
> 
>  [PSScriptAnalyzer] Ignoring 'TypeNotFound' parse error on type 'VstsConnection'. Check if the specified type is correct. This can also be due the type not being known at parse time due to typed imported by 'using' statements 
> 
> 
> 

Any ideas on how I can suppress this? I tried with SuppressMessageAttribute as shown but this doesn't seem to do anything. I know that this works with specific PSScriptAnalyzer cases but it hasn't actually removed either the PowerShell message or the PSScriptAnalyzer warning.