1 write to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
166
PositionOfFirstReducingNullableDirective
= positionOfFirstReducingNullableDirective;
6 references to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (6)
174
[MemberNotNullWhen(false, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
209
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
213
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
217
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
280
var nullableImpactingSpans = CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.AnalyzeCodeBlock(context, syntaxTreeState.
PositionOfFirstReducingNullableDirective
.Value);
305
if (syntaxTreeState.
PositionOfFirstReducingNullableDirective
is not { } positionOfFirstReducingNullableDirective)