1 write to ApplicableToSpan
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\UnifiedSuggestions\UnifiedSuggestedActionSet.cs (1)
42ApplicableToSpan = applicableToSpan;
11 references to ApplicableToSpan
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Features\UnifiedSuggestions\UnifiedSuggestedActionSetComparer.cs (4)
54if (!_targetSpan.HasValue || !x.ApplicableToSpan.HasValue || !y.ApplicableToSpan.HasValue) 60var distanceX = Distance(x.ApplicableToSpan, _targetSpan); 61var distanceY = Distance(y.ApplicableToSpan, _targetSpan);
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (3)
712=> new(set.OriginalSolution, set.CategoryName, set.Actions, set.Title, priority, set.ApplicableToSpan); 750actionSet.ApplicableToSpan); 785: new UnifiedSuggestedActionSet(set.OriginalSolution, set.CategoryName, actions.ToImmutable(), set.Title, set.Priority, set.ApplicableToSpan);
Handler\CodeActions\CodeActionHelpers.cs (4)
65applicableRange: set.ApplicableToSpan.HasValue ? ProtocolConversions.TextSpanToRange(set.ApplicableToSpan.Value, documentText) : null, 265applicableRange: nestedActionSet.ApplicableToSpan.HasValue 266? ProtocolConversions.TextSpanToRange(nestedActionSet.ApplicableToSpan.Value, documentText) : null,