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);
81
return Diagnostic.Create (DiagnosticDescriptors.GetDiagnosticDescriptor (id),
Location
, sourceLocation, DAMArgument?.ToImmutableDictionary (), args);
TrimAnalysis\HandleCallAction.cs (8)
262
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForConstructorsOnType (_diagnosticContext.
Location
, type.Type, BindingFlags.Static, parameterCount: 0);
265
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForEventsOnTypeHierarchy (_diagnosticContext.
Location
, type.Type, name, bindingFlags);
268
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForFieldsOnTypeHierarchy (_diagnosticContext.
Location
, type.Type, name, bindingFlags);
271
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForPropertiesOnTypeHierarchy (_diagnosticContext.
Location
, type.Type, name, bindingFlags);
274
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForPublicParameterlessConstructor (_diagnosticContext.
Location
, type.Type);
277
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForConstructorsOnType (_diagnosticContext.
Location
, type.Type, bindingFlags, parameterCount);
280
=> _reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForMethod (_diagnosticContext.
Location
, method.Method);
290
_reflectionAccessAnalyzer.GetReflectionAccessDiagnosticsForProperty (_diagnosticContext.
Location
, property!);
TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
38
_reflectionAccessAnalyzer.GetReflectionAccessDiagnostics (_diagnosticContext.
Location
, type.Type, dynamicallyAccessedMemberTypes);