2 instantiations of SuppressionTargetInfo
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (2)
180
var suppressionTargetInfo = new
SuppressionTargetInfo
() { TargetSymbol = compilation.Assembly };
341
return new
SuppressionTargetInfo
() { TargetSymbol = targetSymbol, NodeWithTokens = nodeWithTokens, StartToken = startToken, EndToken = endToken, TargetMemberNode = targetMemberNode };
14 references to SuppressionTargetInfo
Microsoft.CodeAnalysis.Features (14)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (4)
161
var
suppressionTargetInfo = await GetSuppressionTargetInfoAsync(document, span, cancellationToken).ConfigureAwait(false);
180
var
suppressionTargetInfo = new SuppressionTargetInfo() { TargetSymbol = compilation.Assembly };
188
Document documentOpt, Project project, IEnumerable<Diagnostic> diagnostics,
SuppressionTargetInfo
suppressionTargetInfo, bool skipSuppressMessage, bool skipUnsuppress, CancellationToken cancellationToken)
265
private async Task<
SuppressionTargetInfo
> GetSuppressionTargetInfoAsync(Document document, TextSpan span, CancellationToken cancellationToken)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.GlobalSuppressMessageFixAllCodeAction.cs (1)
160
var
suppressionTargetInfo = await fixer.GetSuppressionTargetInfoAsync(document, diagnostic.Location.SourceSpan, cancellationToken).ConfigureAwait(false);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (2)
27
SuppressionTargetInfo
suppressionTargetInfo,
204
internal static void NormalizeTriviaOnTokens(AbstractSuppressionCodeFixProvider fixer, ref Document document, ref
SuppressionTargetInfo
suppressionTargetInfo)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (3)
17
private readonly
SuppressionTargetInfo
_suppressionTargetInfo;
24
SuppressionTargetInfo
suppressionTargetInfo,
38
SuppressionTargetInfo
suppressionTargetInfo,
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (1)
25
SuppressionTargetInfo
suppressionTargetInfo,
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (3)
29
private readonly
SuppressionTargetInfo
_suppressionTargetInfo;
32
SuppressionTargetInfo
suppressionTargetInfo,
46
SuppressionTargetInfo
suppressionTargetInfo,