2 references to Add
Microsoft.CodeAnalysis.CSharp (2)
Errors\DiagnosticBagExtensions.cs (2)
67
return !useSiteDiagnostics.IsNullOrEmpty() && diagnostics.
Add
(node.Location, useSiteDiagnostics);
78
return !useSiteDiagnostics.IsNullOrEmpty() && diagnostics.
Add
(token.GetLocation(), useSiteDiagnostics);