3 instantiations of AnalysisValueProvider
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AdditionalTextValueProvider.cs (1)
25CoreValueProvider = new AnalysisValueProvider<AdditionalText, TValue>(computeValue, additionalTextComparer ?? EqualityComparer<AdditionalText>.Default);
DiagnosticAnalyzer\SourceTextValueProvider.cs (1)
26CoreValueProvider = new AnalysisValueProvider<SourceText, TValue>(computeValue, sourceTextComparer ?? SourceTextComparer.Instance);
DiagnosticAnalyzer\SyntaxTreeValueProvider.cs (1)
25CoreValueProvider = new AnalysisValueProvider<SyntaxTree, TValue>(computeValue, syntaxTreeComparer ?? SyntaxTreeComparer.Instance);
13 references to AnalysisValueProvider
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AdditionalTextValueProvider.cs (1)
15internal readonly AnalysisValueProvider<AdditionalText, TValue> CoreValueProvider;
DiagnosticAnalyzer\CompilationAnalysisValueProvider.cs (3)
13/// Wrapper over the core <see cref="AnalysisValueProvider{TKey, TValue}"/> which holds a strong reference to key-value pairs for the lifetime of a compilation that this provider is associated with. 19private readonly AnalysisValueProvider<TKey, TValue> _analysisValueProvider; 22public CompilationAnalysisValueProvider(AnalysisValueProvider<TKey, TValue> analysisValueProvider)
DiagnosticAnalyzer\CompilationAnalysisValueProviderFactory.cs (1)
16public CompilationAnalysisValueProvider<TKey, TValue> GetValueProvider<TKey, TValue>(AnalysisValueProvider<TKey, TValue> analysisSharedStateProvider)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (4)
261private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value) 540private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value) 547internal virtual bool TryGetValueCore<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value) 662private bool TryGetValue<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
DiagnosticAnalyzer\DiagnosticAnalysisContextHelpers.cs (1)
157internal static void VerifyArguments<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
213internal override bool TryGetValueCore<TKey, TValue>(TKey key, AnalysisValueProvider<TKey, TValue> valueProvider, [MaybeNullWhen(false)] out TValue value)
DiagnosticAnalyzer\SourceTextValueProvider.cs (1)
16internal AnalysisValueProvider<SourceText, TValue> CoreValueProvider { get; private set; }
DiagnosticAnalyzer\SyntaxTreeValueProvider.cs (1)
15internal AnalysisValueProvider<SyntaxTree, TValue> CoreValueProvider { get; private set; }