1 write to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
165
PositionOfFirstReducingNullableDirective
= positionOfFirstReducingNullableDirective;
6 references to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (6)
173
[MemberNotNullWhen(false, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
208
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
212
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
216
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
279
var nullableImpactingSpans = CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.AnalyzeCodeBlock(context, syntaxTreeState.
PositionOfFirstReducingNullableDirective
.Value);
304
if (syntaxTreeState.
PositionOfFirstReducingNullableDirective
is not { } positionOfFirstReducingNullableDirective)