2 instantiations of PragmaWarningCodeAction
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (2)
34return new PragmaWarningCodeAction(suppressionTargetInfo, document, options, diagnostic, fixer); 54=> new(_suppressionTargetInfo, _document, _options, _diagnostic, Fixer, forFixMultipleContext: true);
5 references to PragmaWarningCodeAction
Microsoft.CodeAnalysis.Features (5)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (3)
150internal async Task<ImmutableArray<PragmaWarningCodeAction>> GetPragmaSuppressionsAsync(Document document, TextSpan span, IEnumerable<Diagnostic> diagnostics, CancellationToken cancellationToken) 154.OfType<PragmaWarningCodeAction>() 216nestedActions.Add(PragmaWarningCodeAction.Create(suppressionTargetInfo, documentOpt, lazyFormattingOptions, diagnostic, this));
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (2)
23public static PragmaWarningCodeAction Create( 53public PragmaWarningCodeAction CloneForFixMultipleContext()