1 write to Location
ILLink.RoslynAnalyzer (1)
TrimAnalysis\DiagnosticContext.cs (1)
21
Location
= location;
12 references to Location
ILLink.RoslynAnalyzer (12)
TrimAnalysis\DiagnosticContext.cs (3)
27
return Diagnostic.Create(DiagnosticDescriptors.GetDiagnosticDescriptor(id),
Location
, args);
48
Debug.Assert(
Location
!= null);
85
return Diagnostic.Create(DiagnosticDescriptors.GetDiagnosticDescriptor(id),
Location
, sourceLocation, DAMArgument?.ToImmutableDictionary(), args);
TrimAnalysis\HandleCallAction.cs (8)
287
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForConstructorsOnType(_diagnosticContext.
Location
, type.Type, BindingFlags.Static, parameterCount: 0);
290
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForEventsOnTypeHierarchy(_diagnosticContext.
Location
, type.Type, name, bindingFlags);
293
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForFieldsOnTypeHierarchy(_diagnosticContext.
Location
, type.Type, name, bindingFlags);
296
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForPropertiesOnTypeHierarchy(_diagnosticContext.
Location
, type.Type, name, bindingFlags);
299
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForPublicParameterlessConstructor(_diagnosticContext.
Location
, type.Type);
302
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForConstructorsOnType(_diagnosticContext.
Location
, type.Type, bindingFlags, parameterCount);
305
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForMethod(_diagnosticContext.
Location
, method.Method);
316
_reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForProperty(_diagnosticContext.
Location
, property!);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
38
_reflectionAccessAnalyzer.GetReflectionAccessDiagnostics(_diagnosticContext.
Location
, type.Type, dynamicallyAccessedMemberTypes);