Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / Microsoft / Scripting / Utils / TrueReadOnlyCollection.cs / 1305376 / TrueReadOnlyCollection.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Dynamic.Utils; namespace System.Runtime.CompilerServices { sealed class TrueReadOnlyCollection: ReadOnlyCollection { /// /// Creates instnace of TrueReadOnlyCollection, wrapping passed in array. /// !!! DOES NOT COPY THE ARRAY !!! /// internal TrueReadOnlyCollection(T[] list) : base(list) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Dynamic.Utils; namespace System.Runtime.CompilerServices { sealed class TrueReadOnlyCollection: ReadOnlyCollection { /// /// Creates instnace of TrueReadOnlyCollection, wrapping passed in array. /// !!! DOES NOT COPY THE ARRAY !!! /// internal TrueReadOnlyCollection(T[] list) : base(list) { } } } // 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
- ListViewItem.cs
- PartialToken.cs
- UIElementCollection.cs
- exports.cs
- BamlBinaryReader.cs
- DiscoveryInnerClientAdhoc11.cs
- DynamicPropertyHolder.cs
- XamlToRtfWriter.cs
- AssociationTypeEmitter.cs
- RadioButton.cs
- Bidi.cs
- WebBrowser.cs
- Subtract.cs
- GeneralTransformGroup.cs
- SurrogateEncoder.cs
- PLINQETWProvider.cs
- HttpStreamXmlDictionaryReader.cs
- WebPartManager.cs
- SendMailErrorEventArgs.cs
- RegexCode.cs
- StateInitialization.cs
- QueryContext.cs
- OptionalRstParameters.cs
- EDesignUtil.cs
- Pair.cs
- ParagraphResult.cs
- KeyConstraint.cs
- ListViewDeletedEventArgs.cs
- BaseParser.cs
- CompressedStack.cs
- RemoteWebConfigurationHostServer.cs
- FontSource.cs
- X509Chain.cs
- BinaryParser.cs
- RightsManagementEncryptionTransform.cs
- ComponentChangingEvent.cs
- ProfileModule.cs
- ControlPaint.cs
- ContentPropertyAttribute.cs
- HttpValueCollection.cs
- Visitor.cs
- ToolStripDropDownItem.cs
- WindowsAuthenticationModule.cs
- FormViewPageEventArgs.cs
- AutoResizedEvent.cs
- CodeObject.cs
- SpecialNameAttribute.cs
- PlatformNotSupportedException.cs
- ThemeableAttribute.cs
- SymmetricKeyWrap.cs
- StaticSiteMapProvider.cs
- ImmutablePropertyDescriptorGridEntry.cs
- GradientStopCollection.cs
- StylusPointPropertyId.cs
- ProfileSettings.cs
- DSACryptoServiceProvider.cs
- RuntimeHandles.cs
- TabControlDesigner.cs
- EntityViewContainer.cs
- FontStyleConverter.cs
- TerminatorSinks.cs
- ObjectDataProvider.cs
- XmlObjectSerializerReadContextComplex.cs
- ConnectionsZone.cs
- EntityContainerEntitySet.cs
- InkCanvasAutomationPeer.cs
- ConnectionStringsSection.cs
- DataReaderContainer.cs
- InputReport.cs
- FormsIdentity.cs
- TableChangeProcessor.cs
- StylusOverProperty.cs
- GlyphRun.cs
- KeyConverter.cs
- CreateUserWizardStep.cs
- DynamicDataResources.Designer.cs
- ContentElement.cs
- UxThemeWrapper.cs
- SqlDataSourceQueryConverter.cs
- RowUpdatingEventArgs.cs
- KeyMatchBuilder.cs
- COM2ComponentEditor.cs
- SerializationEventsCache.cs
- ArrayItemValue.cs
- MenuStrip.cs
- ZipFileInfo.cs
- LoadItemsEventArgs.cs
- FontFamily.cs
- InvokeBinder.cs
- DesignTimeVisibleAttribute.cs
- SqlDataRecord.cs
- Automation.cs
- SrgsSemanticInterpretationTag.cs
- LayoutTableCell.cs
- Pair.cs
- ContainsSearchOperator.cs
- PackageController.cs
- ListSourceHelper.cs
- SecurityException.cs
- AtomContentProperty.cs