PatternMatching\AllLowerCamelCaseMatcher.cs (6)
38in TemporaryArray<TextSpan> candidateHumps, out ImmutableArray<TextSpan> matchedSpans)
65private static PatternMatchKind GetKind(CamelCaseResult result, in TemporaryArray<TextSpan> candidateHumps)
69int patternIndex, int candidateHumpIndex, bool? contiguous, in TemporaryArray<TextSpan> candidateHumps)
149int patternIndex, int humpIndex, bool contiguous, in TemporaryArray<TextSpan> candidateHumps)
211CamelCaseResult result, ref CamelCaseResult? bestResult, TextSpan? matchSpanToAdd, in TemporaryArray<TextSpan> candidateHumps)
240private static bool IsBetter(CamelCaseResult result, CamelCaseResult? currentBestResult, in TemporaryArray<TextSpan> candidateHumps)
src\Compilers\Core\Portable\Collections\TemporaryArrayExtensions.cs (13)
14/// Gets a mutable reference to a <see cref="TemporaryArray{T}"/> stored in a <c>using</c> variable.
17/// <para>This supporting method allows <see cref="TemporaryArray{T}"/>, a non-copyable <see langword="struct"/>
38public static ref TemporaryArray<T> AsRef<T>(this in TemporaryArray<T> array)
43public static bool Any<T>(this in TemporaryArray<T> array, Func<T, bool> predicate)
54public static bool All<T>(this in TemporaryArray<T> array, Func<T, bool> predicate)
68public static T? SingleOrDefault<T>(this in TemporaryArray<T> array, Func<T, bool> predicate)
89public static T? SingleOrDefault<T, TArg>(this in TemporaryArray<T> array, Func<T, TArg, bool> predicate, TArg arg)
110public static T? FirstOrDefault<T>(this in TemporaryArray<T> array)
113public static T? FirstOrDefault<T, TArg>(this in TemporaryArray<T> array, Func<T, TArg, bool> predicate, TArg arg)
124public static int IndexOf<T, TArg>(this in TemporaryArray<T> array, Func<T, TArg, bool> predicate, TArg arg)
138public static void AddIfNotNull<T>(this ref TemporaryArray<T> array, T? value)
147public static void AddIfNotNull<T>(this ref TemporaryArray<T> array, T? value)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (7)
26private static void AddNode<TSyntaxNode>(bool allowEmptyNodes, ref TemporaryArray<TSyntaxNode> result, TSyntaxNode node) where TSyntaxNode : SyntaxNode
35ParsedDocument document, TextSpan selectionRaw, bool allowEmptyNodes, int maxCount, ref TemporaryArray<TSyntaxNode> result, CancellationToken cancellationToken) where TSyntaxNode : SyntaxNode
266ref TemporaryArray<TSyntaxNode> result,
305ref TemporaryArray<TSyntaxNode> result,
351ref TemporaryArray<TSyntaxNode> result,
519ref TemporaryArray<TSyntaxNode> result,
559IEnumerable<SyntaxNode> nodes, bool allowEmptyNodes, int maxCount, ref TemporaryArray<TSyntaxNode> result, CancellationToken cancellationToken) where TSyntaxNode : SyntaxNode