14 instantiations of DiagnosticContext
ILLink.RoslynAnalyzer (14)
RequiresAnalyzerBase.cs (1)
219var diagnosticContext = new DiagnosticContext(
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
35var diagnosticContext = new DiagnosticContext(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\GenericArgumentDataFlow.cs (1)
48var diagnosticContext = new DiagnosticContext(location, reportDiagnostic);
TrimAnalysis\HandleCallAction.cs (1)
41_diagnosticContext = new DiagnosticContext(location, reportDiagnostic);
TrimAnalysis\ReflectionAccessAnalyzer.cs (4)
99var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 149var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 169var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 218var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (2)
34_diagnosticContext = new(location, reportDiagnostic); 39var diagnosticContext = new DiagnosticContext(_location, _reportDiagnostic);
TrimAnalysis\TrimAnalysisBackingFieldAccessPattern.cs (1)
50DiagnosticContext diagnosticContext = new(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\TrimAnalysisFieldAccessPattern.cs (1)
49DiagnosticContext diagnosticContext = new(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
95var diagnosticContext = new DiagnosticContext(location, reportDiagnostic);
TrimAnalysis\TrimAnalysisReflectionAccessPattern.cs (1)
58DiagnosticContext diagnosticContext = new(location, reportDiagnostic);
22 references to DiagnosticContext
ILLink.RoslynAnalyzer (22)
RequiresAnalyzerBase.cs (5)
181in DiagnosticContext diagnosticContext) 219var diagnosticContext = new DiagnosticContext( 282private void CreateRequiresDiagnostic(ISymbol member, AttributeData requiresAttribute, in DiagnosticContext diagnosticContext) 349in DiagnosticContext diagnosticContext) 399in DiagnosticContext diagnosticContext)
RequiresAssemblyFilesAnalyzer.cs (1)
111in DiagnosticContext diagnosticContext)
RequiresUnreferencedCodeAnalyzer.cs (1)
70in DiagnosticContext diagnosticContext)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (1)
26private readonly DiagnosticContext _diagnosticContext;
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
19private readonly DiagnosticContext _diagnosticContext;
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
35var diagnosticContext = new DiagnosticContext(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\GenericArgumentDataFlow.cs (1)
48var diagnosticContext = new DiagnosticContext(location, reportDiagnostic);
TrimAnalysis\ReflectionAccessAnalyzer.cs (5)
99var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 149var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 169var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 218var diagnosticContext = new DiagnosticContext(location, _reportDiagnostic); 223internal bool TryResolveTypeNameAndMark(string typeName, in DiagnosticContext diagnosticContext, bool needsAssemblyName, [NotNullWhen(true)] out ITypeSymbol? type)
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
39var diagnosticContext = new DiagnosticContext(_location, _reportDiagnostic);
TrimAnalysis\TrimAnalysisBackingFieldAccessPattern.cs (1)
50DiagnosticContext diagnosticContext = new(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\TrimAnalysisFieldAccessPattern.cs (1)
49DiagnosticContext diagnosticContext = new(Operation.Syntax.GetLocation(), reportDiagnostic);
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
95var diagnosticContext = new DiagnosticContext(location, reportDiagnostic);
TrimAnalysis\TrimAnalysisReflectionAccessPattern.cs (1)
58DiagnosticContext diagnosticContext = new(location, reportDiagnostic);
TrimAnalysis\TypeNameResolver.cs (1)
28in DiagnosticContext diagnosticContext,