48 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\ImmutableSegmentedList`1.cs (1)
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList`1.cs (1)
138/// <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)
55Exceptions = Exceptions.Add(exception);
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
317ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream)); 325ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream));
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
112_orderedDocumentsInBatch = _orderedDocumentsInBatch?.Add(documentId);
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\ImmutableSegmentedList`1.cs (1)
138/// <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),