Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Collections / Generic / HashSetDebugView.cs / 1305376 / HashSetDebugView.cs
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace System.Collections.Generic { ////// Debug view for HashSet /// ///internal class HashSetDebugView { private HashSet set; public HashSetDebugView(HashSet set) { if (set == null) { throw new ArgumentNullException("set"); } this.set = set; } [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] public T[] Items { get { return set.ToArray(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace System.Collections.Generic { /// /// Debug view for HashSet /// ///internal class HashSetDebugView { private HashSet set; public HashSetDebugView(HashSet set) { if (set == null) { throw new ArgumentNullException("set"); } this.set = set; } [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] public T[] Items { get { return set.ToArray(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlConvert.cs
- FrameworkTemplate.cs
- HtmlElementErrorEventArgs.cs
- ImageAttributes.cs
- HttpResponseBase.cs
- FileIOPermission.cs
- PageParserFilter.cs
- SelectionProcessor.cs
- MethodBuilder.cs
- SolidColorBrush.cs
- TransactionProtocolConverter.cs
- ETagAttribute.cs
- ParameterModifier.cs
- Dynamic.cs
- DoubleLinkListEnumerator.cs
- MetaData.cs
- HttpWebResponse.cs
- ItemDragEvent.cs
- WebProxyScriptElement.cs
- InkCanvasFeedbackAdorner.cs
- MissingMemberException.cs
- ScriptIgnoreAttribute.cs
- XmlnsCompatibleWithAttribute.cs
- Config.cs
- DataServiceContext.cs
- WebPartConnectionsEventArgs.cs
- ISFClipboardData.cs
- SafeNativeMethodsMilCoreApi.cs
- ContentFilePart.cs
- dataprotectionpermission.cs
- ToolStripContainer.cs
- CapacityStreamGeometryContext.cs
- DocumentXmlWriter.cs
- VectorAnimationUsingKeyFrames.cs
- DataGridViewCellLinkedList.cs
- SendMailErrorEventArgs.cs
- TableColumn.cs
- ViewEvent.cs
- WindowShowOrOpenTracker.cs
- BulletChrome.cs
- UIElement.cs
- ImageAutomationPeer.cs
- CodeTypeMemberCollection.cs
- Events.cs
- ItemCheckEvent.cs
- DocComment.cs
- TextFormatter.cs
- NetStream.cs
- TdsRecordBufferSetter.cs
- SettingsProperty.cs
- HttpListenerElement.cs
- ContentElement.cs
- XmlSchemaSimpleType.cs
- NamespaceCollection.cs
- DocumentsTrace.cs
- RepeatBehaviorConverter.cs
- TreeViewAutomationPeer.cs
- OrthographicCamera.cs
- Int64Animation.cs
- ParseElement.cs
- GeometryModel3D.cs
- EntityDataSourceWizardForm.cs
- RelatedEnd.cs
- MemberProjectionIndex.cs
- RepeatInfo.cs
- Viewport2DVisual3D.cs
- DateBoldEvent.cs
- TreeIterator.cs
- PhysicalFontFamily.cs
- WindowsSecurityTokenAuthenticator.cs
- ContextStaticAttribute.cs
- DashStyle.cs
- CompositeActivityTypeDescriptor.cs
- SqlRowUpdatedEvent.cs
- SingleBodyParameterMessageFormatter.cs
- InternalBase.cs
- SpellerStatusTable.cs
- PrimitiveSchema.cs
- _HelperAsyncResults.cs
- SemanticResultKey.cs
- ElementProxy.cs
- DataBindingHandlerAttribute.cs
- TiffBitmapDecoder.cs
- EntityDataSourceViewSchema.cs
- MetadataUtil.cs
- InvokeMemberBinder.cs
- DesignTimeXamlWriter.cs
- TextBox.cs
- SchemaType.cs
- JavaScriptObjectDeserializer.cs
- MetadataArtifactLoaderFile.cs
- CollectionBuilder.cs
- ThrowHelper.cs
- TypeSystem.cs
- InputScopeConverter.cs
- WebPartEditorCancelVerb.cs
- ConfigurationStrings.cs
- StatusBarItem.cs
- SpeechRecognizer.cs
- OutputScope.cs