17 references to AsRef
Microsoft.CodeAnalysis.Workspaces (17)
Classification\ClassifierHelper.cs (1)
268syntacticPartSpan.Start, syntacticPartSpan.Length, ref tempBuffer.AsRef(),
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (2)
89overlappingSpans: ref overlappingSpans.AsRef(), 90intersectingSpans: ref intersectingSpans.AsRef());
FindSymbols\SymbolTree\SymbolTreeInfo.cs (4)
178_spellChecker.FindSimilarWords(ref similarNames.AsRef(), name, substringsAreSimilar: false); 237Bind(index, assemblySymbol.GlobalNamespace, ref results.AsRef(), cancellationToken); 415Bind(node.ParentIndex, rootContainer, ref containerSymbols.AsRef(), cancellationToken); 510Bind(derivedTypeIndex, compilation.GlobalNamespace, ref tempBuilder.AsRef(), cancellationToken);
PatternMatching\ContainerPatternMatcher.cs (1)
83if (!MatchPatternSegment(containerName, ref _patternSegments[i], ref tempContainerMatches.AsRef(), fuzzyMatch))
PatternMatching\PatternMatcher.cs (1)
302StringBreaker.AddWordParts(candidate, ref candidateHumps.AsRef());
PatternMatching\PatternMatcherExtensions.cs (1)
15matcher.AddMatches(candidate, ref matches.AsRef());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeAlgorithms`2.cs (1)
24tree.FillWithIntervalsThatMatch(start, length, ref result.AsRef(), in introspector, in intervalTester, stopAfterFirst: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolInfoExtensions.cs (1)
33result.AsRef().AddIfNotNull(symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Naming\IdentifierNameParts.cs (1)
31StringBreaker.AddWordParts(baseName, ref parts.AsRef());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
406StringBreaker.AddParts(name, isWord, ref parts.AsRef());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
374StringBreaker.AddWordParts(name, ref parts.AsRef());
Utilities\SpellChecker.cs (1)
30bKTree.Find(ref result.AsRef(), value, threshold: null);
Workspace\Solution\SolutionState.cs (1)
1182projectState.AddDocumentIdsWithFilePath(ref result.AsRef(), filePath);