52 references to RemoveAll
dotnet-svcutil-lib.Tests (2)
TestInit.cs (2)
475fileLines1.RemoveAll(l => exceptLines.Any(ex => l.Contains(ex))); 476fileLines2.RemoveAll(l => exceptLines.Any(ex => l.Contains(ex)));
Microsoft.AspNetCore.Mvc.TagHelpers (1)
TagHelperOutputExtensions.cs (1)
244listOfClasses.RemoveAll(x => x.Equals(encodedClassValue));
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelConfigurationLoader.cs (1)
402endpointsToStop.RemoveAll(o => o.EndpointConfig == endpoint);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
TestConnectionMultiplexer.cs (1)
290list.RemoveAll((item) => item.Item1 == subscriberId);
Microsoft.Build (7)
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (7)
48EvaluatedPropertiesActions.RemoveAll(a => a.Item1 == check); 49ParsedItemsActions.RemoveAll(a => a.Item1 == check); 50EvaluatedItemsActions.RemoveAll(a => a.Item1 == check); 51PropertyReadActions.RemoveAll(a => a.Item1 == check); 52PropertyWriteActions.RemoveAll(a => a.Item1 == check); 53ProjectRequestProcessingDoneActions.RemoveAll(a => a.Item1 == check); 54BuildFinishedActions.RemoveAll(a => a.Item1 == check);
Microsoft.Build.Engine.UnitTests (2)
Definition\ToolsVersion_Tests.cs (1)
972matches.RemoveAll(
Graph\GraphLoadedFromSolution_tests.cs (1)
579solutionOnlyEdges.RemoveAll(edge => EdgeCompliesWithSolutionDependency(edge, solutionDependency));
Microsoft.Build.Tasks.Core (3)
BootstrapperUtil\BootstrapperBuilder.cs (3)
769p.Dependencies.RemoveAll(m => true); 791dependency.RemoveAll(m => m == product); 793p.Dependencies.RemoveAll(m => m.Count == 0);
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2930diskRoots.RemoveAll(x => !FileUtilities.DirectoryExistsNoThrow(x));
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataHelpers.cs (1)
907int removed = nestedNamespaces.RemoveAll(pair => (object)pair.Key == null);
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (2)
222list.RemoveAll(static o => o is null); 299list.RemoveAll(static o => o is null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
105operations.RemoveAll(o => o == null || !o.TextSpan.IntersectsWith(span));
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (2)
222list.RemoveAll(static o => o is null); 299list.RemoveAll(static o => o is null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
105operations.RemoveAll(o => o == null || !o.TextSpan.IntersectsWith(span));
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
1321newList.RemoveAll(p => _projectReferencesRemovedInBatch.Contains(p));
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\StreamingChatCompletionUpdateExtensions.cs (1)
244_ = contents.RemoveAll(u => u is null);
Microsoft.Maui (1)
WeakList.cs (1)
71 _list.RemoveAll(w => !w.TryGetTarget(out _));
Microsoft.Maui.Controls (2)
Interactivity\EventTrigger.cs (1)
58 _associatedObjects.RemoveAll(wr =>
MessagingCenter.cs (1)
253 _subscriptions[key].RemoveAll(sub => sub.CanBeRemoved() || sub.Subscriber.Target == subscriber);
Microsoft.Maui.Essentials (2)
VersionTracking\VersionTracking.shared.cs (2)
260 versionTrail[versionsKey].RemoveAll(v => v == CurrentVersion); 268 versionTrail[buildsKey].RemoveAll(b => b == CurrentBuild);
Microsoft.ML.AutoML (2)
AutoMLExperiment\IStopTrainingManager.cs (1)
154_managers.RemoveAll(manager.Equals);
TransformInference\TransformInference.cs (1)
450concatColNames.RemoveAll(s => s == groupColumnName);
Microsoft.ML.Core (4)
Data\IFileHandle.cs (1)
190_streams.RemoveAll(s => !s.CanRead);
Data\ProgressReporter.cs (1)
451_infos.RemoveAll(x => x.IsFinished);
Environment\HostEnvironmentBase.cs (2)
141_children.RemoveAll(r => r.TryGetTarget(out IHost _) == false); 420_children.RemoveAll(r => r.TryGetTarget(out IHost _) == false);
Microsoft.ML.Data (4)
Transforms\NormalizeColumnDbl.cs (2)
1891_values.RemoveAll(TFloat.IsNaN); 1967_values[i].RemoveAll(TFloat.IsNaN);
Transforms\NormalizeColumnSng.cs (2)
2054_values.RemoveAll(TFloat.IsNaN); 2131_values[i].RemoveAll(TFloat.IsNaN);
Microsoft.ML.TimeSeries (1)
RootCauseAnalyzer.cs (1)
527valueMapAsList.RemoveAll(kv => kv.Key == best);
System.ComponentModel.Composition (1)
Microsoft\Internal\Collections\WeakReferenceCollection.cs (1)
61_items.RemoveAll(w => !w.IsAlive);
System.IO.Compression (2)
System\IO\Compression\ZipBlocks.cs (2)
314extraFields.RemoveAll(ef => 337extraFields.RemoveAll(field => field.Tag == TagConstant);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
2033exceptionalChildren.RemoveAll(t => t.IsExceptionObservedByParent); // RemoveAll has better performance than doing it ourselves 4599list.RemoveAll(l => l == null);
System.Reflection.Context (1)
System\Reflection\Context\Projection\ProjectingType.cs (1)
133matchingMembers.RemoveAll(member => !string.Equals(member.Name, name, comparisonType));
System.Text.Json (1)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
132return List.RemoveAll(node =>
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCharClass.cs (1)
1860temp.RemoveAll(kvp => kvp.Value.Length != 1);
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (1)
1860temp.RemoveAll(kvp => kvp.Value.Length != 1);