4 instantiations of CamelCaseResult
Microsoft.CodeAnalysis.Workspaces (4)
PatternMatching\AllLowerCamelCaseMatcher.cs (1)
76return new CamelCaseResult(
PatternMatching\CamelCaseResult.cs (2)
37=> new(fromStart, Contiguous, MatchCount, MatchedSpansInReverse); 42return new CamelCaseResult(FromStart, Contiguous, MatchCount + 1, MatchedSpansInReverse);
PatternMatching\PatternMatcher.cs (1)
549var camelCaseResult = new CamelCaseResult(firstMatch == 0, contiguous.Value, matchCount, null);
14 references to CamelCaseResult
Microsoft.CodeAnalysis.Workspaces (14)
PatternMatching\AllLowerCamelCaseMatcher.cs (10)
65private static PatternMatchKind GetKind(CamelCaseResult result, in TemporaryArray<TextSpan> candidateHumps) 68private CamelCaseResult? TryMatch( 83var bestResult = (CamelCaseResult?)null; 148private CamelCaseResult? TryConsumePatternOrMatchNextHump( 151var bestResult = (CamelCaseResult?)null; 183var result = resultOpt.Value; 211CamelCaseResult result, ref CamelCaseResult? bestResult, TextSpan? matchSpanToAdd, in TemporaryArray<TextSpan> candidateHumps) 240private static bool IsBetter(CamelCaseResult result, CamelCaseResult? currentBestResult, in TemporaryArray<TextSpan> candidateHumps)
PatternMatching\CamelCaseResult.cs (3)
36public CamelCaseResult WithFromStart(bool fromStart) 39public CamelCaseResult WithAddedMatchedSpan(TextSpan value) 46private static PatternMatchKind GetCamelCaseKind(CamelCaseResult result, in TemporaryArray<TextSpan> candidateHumps)
PatternMatching\PatternMatcher.cs (1)
549var camelCaseResult = new CamelCaseResult(firstMatch == 0, contiguous.Value, matchCount, null);