46 references to Clear
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
479_items.Clear();
FrameworkFork\System.ServiceModel\Internals\System\Runtime\SynchronizedPool.cs (1)
430_items.Clear();
illink (1)
Microsoft.AspNetCore.Components (2)
Rendering\RenderTreeBuilder.cs (1)
749_openElementIndices.Clear();
src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
107_stack.Clear();
Microsoft.AspNetCore.Routing (1)
Tree\TreeEnumerator.cs (1)
107_stack.Clear();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.cs (2)
345_onStarting?.Clear(); 346_onCompleted?.Clear();
Microsoft.CodeAnalysis (4)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
184seenNames.Clear(); 294nodeStack.Clear();
Syntax\SyntaxNavigator.cs (2)
133stack.Clear(); 180stack.Clear();
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (2)
104set.Clear(); 241stack.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
350_contextualSymbolStack.Clear();
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.QueryTranslationState.cs (1)
134clauses.Clear();
Microsoft.CodeAnalysis.EditorFeatures (3)
InlineRename\AbstractInlineRenameUndoManager.cs (3)
95this.UndoStack.Clear(); 96this.RedoStack.Clear(); 125this.RedoStack.Clear();
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (2)
104set.Clear(); 241stack.Clear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
350_contextualSymbolStack.Clear();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (2)
104set.Clear(); 241stack.Clear();
Microsoft.DotNet.VersionTools (1)
BuildManifest\VersionIdentifier.cs (1)
138majorMinorPatchStack.Clear();
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1154bracketCharacterStack.Clear();
PresentationCore (1)
System\Windows\EventRoute.cs (1)
519_branchNodeStack.Clear();
PresentationFramework (3)
MS\Internal\Data\LiveShapingBlock.cs (2)
334stack.Clear(); 415stack.Clear();
System\Windows\Markup\MarkupExtensionParser.cs (1)
1154bracketCharacterStack.Clear();
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1972_stack.Clear();
System.Collections.Immutable (3)
System\Collections\Immutable\ImmutableExtensions.cs (3)
64/// Clears the specified stack. For empty stacks, it avoids the call to <see cref="Stack{T}.Clear"/>, which 67/// <see cref="Stack{T}.Clear"/> and <see cref="Array.Clear(Array, int, int)"/> typically don't. 75stack.Clear();
System.Console (1)
System\TermInfo.cs (1)
73stack.Clear();
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnWriter.cs (1)
97_nestingStack?.Clear();
System.Formats.Cbor (2)
System\Formats\Cbor\Reader\CborReader.cs (1)
96_nestedDataItems?.Clear();
System\Formats\Cbor\Writer\CborWriter.cs (1)
111_nestedDataItems?.Clear();
System.Private.Xml (2)
System\Xml\Xsl\XPath\XPathParser.cs (1)
32_posInfo.Clear();
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
42_iterStack.Clear();
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexCompiler.cs (2)
389_int32LocalsPool?.Clear(); 390_readOnlySpanCharLocalsPool?.Clear();
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1248_scopeStack.Clear();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TabOrder.cs (1)
235_controlIndices.Clear();
System.Xaml (2)
System\Xaml\Parser\MeScanner.cs (1)
470bracketCharacterStack.Clear();
System\Xaml\XamlMarkupExtensionWriter.cs (1)
61nodes.Clear();