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