34 references to Add
Microsoft.CodeAnalysis.Workspaces (34)
CodeActions\CodeAction.cs (1)
438result.Add(op);
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (5)
277aliasSymbols.Add(symbol); 772additionalProperties.Add((key, symbol.Name)); 783additionalProperties.Add((ContainingTypeInfoPropertyName, containingType.Name)); 789additionalProperties.Add((ContainingMemberInfoPropertyName, containingSymbol.Name)); 877result.Add(alias);
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
515builder.Add(namedType);
FindSymbols\SyntaxTree\SyntaxTreeIndex_Forwarders.cs (1)
65result.Add(alias);
PatternMatching\PatternMatcher.cs (4)
361matches.Add(match.Value); 392matches.Add(result.Value); 407tempMatches.Add(result.Value); 587matchSpans.Add(new TextSpan(candidateHump.Start, patternChunkCharacterSpan.Length));
src\Compilers\Core\Portable\Collections\TemporaryArrayExtensions.cs (2)
143array.Add(value.Value); 152array.Add(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.cs (1)
63builder.Add(currentNodeValue);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.cs (1)
127result.Add(new string(_concatenatedLowerCaseWords, characterSpan.Start, characterSpan.Length));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\InterceptsLocationUtilities.cs (1)
37result.Add(data);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\StringBreaker.cs (1)
35parts.Add(span);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (4)
92equivalenceVisitors.Add(new(this, compareMethodTypeParametersByIndex)); 93getHashCodeVisitors.Add(new(this, compareMethodTypeParametersByIndex)); 218builder.Add(namedType); 223builder.Add(candidateType);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\AbstractRefactoringHelpersService.cs (1)
31result.Add(node);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (4)
173statements.Add(ifStatement); 174statements.Add(localDeclaration); 185statements.Add(localDeclaration); 212statements.Add(factory.ReturnStatement(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
39servicesOfMatchingType.Add(entry);
Utilities\SpellChecker.cs (1)
35similarWords.Add(current);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (3)
215generatedDocumentsBuilder.Add(existingDocument 321generatedDocumentsBuilder.Add(newDocument); 334generatedDocumentsBuilder.Add(
Workspace\Solution\SolutionState.cs (1)
473languageCountDeltas.Add((language, amount));
Workspace\Solution\TextDocumentStates.cs (1)
335temporaryArray.Add(value);