1 instantiation of SyntaxTreeState
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
214return new SyntaxTreeState(completed: defaultCompleted || positionOfFirstReducingNullableDirective is null, positionOfFirstReducingNullableDirective);
6 references to SyntaxTreeState
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (6)
188public static SyntaxTreeState Create(bool defaultCompleted, NullableContextOptions compilationOptions, SyntaxTree tree, CancellationToken cancellationToken) 268private readonly ConcurrentDictionary<SyntaxTree, SyntaxTreeState> _codeBlockIntervals 279var syntaxTreeState = GetOrCreateSyntaxTreeState(context.CodeBlock.SyntaxTree, defaultCompleted: false, context.SemanticModel, context.CancellationToken); 295var syntaxTreeState = GetOrCreateSyntaxTreeState(context.SemanticModel.SyntaxTree, defaultCompleted: true, context.SemanticModel, context.CancellationToken); 311private SyntaxTreeState GetOrCreateSyntaxTreeState(SyntaxTree tree, bool defaultCompleted, SemanticModel semanticModel, CancellationToken cancellationToken) 315static (tree, arg) => SyntaxTreeState.Create(arg.defaultCompleted, arg.options, tree, arg.cancellationToken),