title: Visual Studio: GlobalSuppressions.cs: Prefix ~P: for attribute Target in SuppressMessage
body: <p>I suppressed several (IntelliSense) messages in Visual Studio 2017. I created entries in file <code>GlobalSuppressions.cs</code> like:</p>
  
  <pre><code>[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Wrong Usage", "DisposableFixer:Undisposed ressource.", Justification = "&lt;Pending&gt;", Scope = "member", Target = "~M:MyProg.Class1.....Method1")]
  
  [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "CC0001:You should use 'var' whenever possible.", Justification = "&lt;Pending&gt;", Scope = "member", Target = "~P:MyProg.Class2.Setter1")]
  </code></pre>
  
  <p>The prefixes <code>~M:</code> and <code>~P:</code> in attribute <a href="https://msdn.microsoft.com/en-us/library/ms244717.aspx" rel="noreferrer"><code>Target</code></a> seem to be some kind of filter. What do they mean? <a href="https://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.suppressmessageattribute.target(v=vs.110).aspx" rel="noreferrer">The only document I find about <code>Target</code>, is: "It must contain a fully-qualified item name."</a></p>