10 references to DiagnosticContext
illink (10)
Linker.Dataflow\AttributeDataFlow.cs (2)
33
var diagnosticContext = new
DiagnosticContext
(_origin, diagnosticsEnabled: true, _context);
46
var diagnosticContext = new
DiagnosticContext
(_origin, diagnosticsEnabled: true, _context);
Linker.Dataflow\GenericArgumentDataFlow.cs (1)
33
var diagnosticContext = new
DiagnosticContext
(_origin, !_context.Annotations.ShouldSuppressAnalysisWarningsForRequiresUnreferencedCode (_origin.Provider, out _), _context);
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
148
var diagnosticContext = new
DiagnosticContext
(_origin, diagnosticsEnabled: false, _context);
Linker.Dataflow\TrimAnalysisAssignmentPattern.cs (1)
45
var diagnosticContext = new
DiagnosticContext
(Origin, diagnosticsEnabled, context);
Linker.Dataflow\TrimAnalysisMethodCallPattern.cs (1)
67
var diagnosticContext = new
DiagnosticContext
(Origin, diagnosticsEnabled, context);
Linker.Steps\LinkAttributesParser.cs (2)
298
var diagnosticContext = new
DiagnosticContext
(new MessageOrigin (provider), diagnosticsEnabled: true, _context);
347
var diagnosticContext = new
DiagnosticContext
(new MessageOrigin (provider), diagnosticsEnabled: true, _context);
Linker.Steps\MarkStep.cs (2)
1602
ReportRequiresUnreferencedCode (method.GetDisplayName (), requiresUnreferencedCode!, new
DiagnosticContext
(origin, diagnosticsEnabled: true, Context));
1744
ReportRequiresUnreferencedCode (field.GetDisplayName (), requiresUnreferencedCodeAttribute!, new
DiagnosticContext
(origin, diagnosticsEnabled: true, Context));