30 references to Add
Microsoft.CodeAnalysis.CSharp.Features (1)
AbstractAssignOutParametersCodeFixProvider.cs (1)
127
result.
Add
(container, (exprOrStatement, unassignedParameters));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Editing\CSharpImportAdder.cs (2)
133
_importedTypes.
Add
((type.Name, type.Arity), ns);
140
_importedExtensionMethods.
Add
(method.Name, ns);
Microsoft.CodeAnalysis.Features (9)
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionProvider.cs (1)
110
dictionary.
Add
(namespaceOfTarget, typeNameOfTarget);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionCacheEntry.cs (1)
62
_mapBuilder.
Add
(receiverType, syntaxIndex.DeclaredSymbolInfos[index]);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (3)
394
builder.
Add
(receiverType!, methodSymbol);
448
results.
Add
(methodInfo.FullyQualifiedContainerName, (methodInfo.Name, receiverTypeName));
473
results.
Add
(methodInfo.FullyQualifiedContainerName, (methodInfo.Name, receiverTypeName));
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
299
tagList.
Add
(span.Value.Document, new HighlightSpan(span.Value.SourceSpan, kind));
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
469
result.
Add
(document.Id, definition);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
334
result.
Add
(document.Id, definition);
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
175
results.
Add
(matchCost, insertionText);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Editing\VisualBasicImportAdder.vb (4)
118
_importedTypesAndNamespaces.
Add
((typeOrNamespace.Name, typeOrNamespace.GetArity()), ns)
125
_importedExtensionMethods.
Add
(method.Name, ns)
135
_importedTypesAndNamespaces.
Add
((moduleType.Name, moduleType.GetArity()), ns)
137
_importedMembers.
Add
(member.Name, ns)
Microsoft.CodeAnalysis.Workspaces (11)
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (5)
68
classesThatMayDeriveFromSystemObject.
Add
(document, info);
71
enums.
Add
(document, info);
75
valueTypes.
Add
(document, info);
78
delegates.
Add
(document, info);
84
namedTypes.
Add
(inheritanceName, (document, info));
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
389
_extensionMethodToParameterTypeInfo.
Add
(childNode, definition.ReceiverTypeInfo);
766
receiverTypeNameToMethodMap.
Add
(parameterTypeName, new ExtensionMethodInfo(fullyQualifiedContainerName, child.Name));
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
241
receiverTypeNameToExtensionMethodMap.
Add
(typeName, new ExtensionMethodInfo(containerName, name));
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (3)
132
symbolMap.
Add
(globalNamespaceName, assembly.GlobalNamespace);
206
symbolMap.
Add
(childNamespaceOrType.Name, childNamespaceOrType);
213
symbolMap.
Add
(childType.Name, childType);
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\InheritanceMarginHelpers.cs (1)
112
nameToTargets.
Add
(target.DisplayName, target);
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
681
filePathToMappedTextChanges.
Add
(filePath, (textChange, projectChanges.ProjectId));
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (1)
208
_watchedHierarchiesForDocumentMoniker.
Add
(moniker, _hierarchyEventSinkCache.GetOrCreate(hierarchyToWatch, static (h, self) => new HierarchyEventSink(h, self), this));