3 types derived from RequiresAnalyzerBase
ILLink.RoslynAnalyzer (3)
RequiresAssemblyFilesAnalyzer.cs (1)
17
public sealed class RequiresAssemblyFilesAnalyzer :
RequiresAnalyzerBase
RequiresDynamicCodeAnalyzer.cs (1)
17
public sealed class RequiresDynamicCodeAnalyzer :
RequiresAnalyzerBase
RequiresUnreferencedCodeAnalyzer.cs (1)
16
public sealed class RequiresUnreferencedCodeAnalyzer :
RequiresAnalyzerBase
19 references to RequiresAnalyzerBase
ILLink.RoslynAnalyzer (19)
DataFlow\FeatureChecksVisitor.cs (1)
52
foreach (
var
analyzer in _dataFlowAnalyzerContext.EnabledRequiresAnalyzers) {
DataFlowAnalyzerContext.cs (7)
13
private readonly Dictionary<
RequiresAnalyzerBase
, ImmutableArray<ISymbol>> _enabledAnalyzers;
15
public IEnumerable<
RequiresAnalyzerBase
> EnabledRequiresAnalyzers => _enabledAnalyzers.Keys;
17
public ImmutableArray<ISymbol> GetSpecialIncompatibleMembers (
RequiresAnalyzerBase
analyzer)
31
Dictionary<
RequiresAnalyzerBase
, ImmutableArray<ISymbol>> enabledAnalyzers,
40
public static DataFlowAnalyzerContext Create (AnalyzerOptions options, Compilation compilation, ImmutableArray<
RequiresAnalyzerBase
> requiresAnalyzers)
42
var enabledAnalyzers = new Dictionary<
RequiresAnalyzerBase
, ImmutableArray<ISymbol>> ();
43
foreach (
var
analyzer in requiresAnalyzers) {
DynamicallyAccessedMembersAnalyzer.cs (5)
26
public static Lazy<ImmutableArray<
RequiresAnalyzerBase
>> RequiresAnalyzers { get; } = new Lazy<ImmutableArray<
RequiresAnalyzerBase
>> (GetRequiresAnalyzers);
27
static ImmutableArray<
RequiresAnalyzerBase
> GetRequiresAnalyzers () =>
28
ImmutableArray.Create<
RequiresAnalyzerBase
> (
63
foreach (
var
requiresAnalyzer in RequiresAnalyzers.Value) {
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
55
foreach (
var
analyzer in context.EnabledRequiresAnalyzers) {
TrimAnalysis\ReflectionAccessAnalyzer.cs (2)
89
var url =
RequiresAnalyzerBase
.GetUrlFromAttribute (requiresAttributeData);
142
MessageFormat.FormatRequiresAttributeMessageArg(
RequiresAnalyzerBase
.GetUrlFromAttribute (requiresUnreferencedCodeAttribute)));
TrimAnalysis\TrimAnalysisFieldAccessPattern.cs (1)
50
foreach (
var
requiresAnalyzer in context.EnabledRequiresAnalyzers)
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (1)
83
foreach (
var
requiresAnalyzer in context.EnabledRequiresAnalyzers)
TrimAnalysis\TrimAnalysisReflectionAccessPattern.cs (1)
57
foreach (
var
requiresAnalyzer in context.EnabledRequiresAnalyzers)