2 references to GetLengthArgument
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.Fixer.cs (2)
32if (GetLengthArgument(root, semanticModel, context.Span, context.CancellationToken) is null) 49if (GetLengthArgument(editor.OriginalRoot, semanticModel, diagnostic.Location.SourceSpan, cancellationToken) is SyntaxNode lengthArgument)