55 references to Add
Microsoft.Build (3)
Graph\ProjectInterpretation.cs (3)
90globalPropertiesModifiers = ModifierForNonMultitargetingNodes.Add((parts, reference) => parts.AddPropertyToUndefine(GetInnerBuildPropertyName(requesterInstance))); 320newUndefineProperties.Add("InnerBuildProperty"); 366return new GlobalPropertyPartsForMSBuildTask(Properties, AdditionalProperties, UndefineProperties.Add(propertyToUndefine));
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumerableConditionalWeakTable.cs (1)
104_items = _items.Add(new WeakReference<Box>(box));
Microsoft.CodeAnalysis.Collections.Package (1)
Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (25)
CodeGen\CodeGenCapturing.cs (25)
131var newSets = setsSoFar.Add(i); 154ImmutableList<int>.Empty.Add(0), 155ImmutableList<int>.Empty.Add(1), 156ImmutableList<int>.Empty.Add(2), 157ImmutableList<int>.Empty.Add(3) 161ImmutableList<int>.Empty.Add(0).Add(0), 162ImmutableList<int>.Empty.Add(0).Add(1), 163ImmutableList<int>.Empty.Add(0).Add(2), 164ImmutableList<int>.Empty.Add(0).Add(3), 165ImmutableList<int>.Empty.Add(1).Add(0), 166ImmutableList<int>.Empty.Add(1).Add(1), 167ImmutableList<int>.Empty.Add(1).Add(2), 168ImmutableList<int>.Empty.Add(2).Add(0), 169ImmutableList<int>.Empty.Add(2).Add(1), 170ImmutableList<int>.Empty.Add(3).Add(0)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
TestExtensionErrorHandler.cs (1)
34Exceptions = Exceptions.Add(exception);
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
344var baselines = (existingBaselines ?? []).Add(newBaseline);
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
383ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream)); 391ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream));
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (2)
125_orderedDocumentsInBatch = _orderedDocumentsInBatch?.Add(documentId); 223_orderedDocumentsInBatch = _orderedDocumentsInBatch?.Add(documentId);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
193return pendingTranslationActions.Add(translate);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\DiagnosticReporter.cs (1)
49ImmutableInterlocked.Update(ref Diagnostics, (list, d) => list.Add(d), diagnostic);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestInfo.cs (1)
68optionInfo = optionInfo with { Accessors = optionInfo.Accessors.Add((accessorNamespace!, accessor, isPublic, option)) };
Microsoft.VisualStudio.IntegrationTest.Setup (1)
TestTraceListener.cs (1)
125ImmutableInterlocked.Update(ref _failures, static (failures, exception) => failures.Add(exception), exception);
Microsoft.VisualStudio.LanguageServices (3)
UnusedReferences\Dialog\UnusedReferencesTableProvider.DataSource.cs (1)
61_managers = _managers.Add(manager);
Workspace\VisualStudioActiveDocumentTracker.cs (2)
149_visibleFrames = _visibleFrames.Add(new FrameListener(this, frame)); 157_visibleFrames = _visibleFrames.Add(new FrameListener(this, frame));
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
MockVsFileChangeEx.vb (1)
46watchedList = watchedList.Add(New WatchedEntity(cookie, pszMkDocument, DirectCast(pFCE, IVsFreeThreadedFileChangeEvents2)))
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableList.cs (1)
26public static ImmutableList<T> Create<T>(T item) => ImmutableList<T>.Empty.Add(item);
System\Collections\Immutable\ImmutableList_1.cs (1)
813IImmutableList<T> IImmutableList<T>.Add(T value) => this.Add(value);
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DataCollectionService.cs (1)
85(loggers, newLogger) => loggers.Add(newLogger),