1 write to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
174
PositionOfFirstReducingNullableDirective
= positionOfFirstReducingNullableDirective;
6 references to PositionOfFirstReducingNullableDirective
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (6)
182
[MemberNotNullWhen(false, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
217
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
221
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
225
[MemberNotNullWhen(true, nameof(
PositionOfFirstReducingNullableDirective
), nameof(IntervalTree), nameof(PossibleNullableImpactIntervalTree))]
283
var nullableImpactingSpans = CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.AnalyzeCodeBlock(context, syntaxTreeState.
PositionOfFirstReducingNullableDirective
.Value);
299
if (syntaxTreeState.
PositionOfFirstReducingNullableDirective
is not { } positionOfFirstReducingNullableDirective)