1 write to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
172
PositionOfFirstReducingNullableDirective
= positionOfFirstReducingNullableDirective;
6 references to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (6)
180
[MemberNotNullWhen(false, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
215
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
219
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
223
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
286
var nullableImpactingSpans = CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.AnalyzeCodeBlock(context, syntaxTreeState.
PositionOfFirstReducingNullableDirective
.Value);
311
if (syntaxTreeState.
PositionOfFirstReducingNullableDirective
is not { } positionOfFirstReducingNullableDirective)