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
- UnicastIPAddressInformationCollection.cs
- ServiceKnownTypeAttribute.cs
- Transform3DGroup.cs
- XmlHelper.cs
- DbConnectionPoolGroup.cs
- PageHandlerFactory.cs
- Vertex.cs
- EpmSourceTree.cs
- XsdDateTime.cs
- PageWrapper.cs
- Light.cs
- ChannelHandler.cs
- CellParagraph.cs
- HtmlTernaryTree.cs
- GridView.cs
- DynamicExpression.cs
- ApplicationDirectory.cs
- ExtendedPropertyInfo.cs
- X509CertificateValidator.cs
- TransformPatternIdentifiers.cs
- WebPartConnectionsConnectVerb.cs
- DetectRunnableInstancesTask.cs
- AssemblyCollection.cs
- GrabHandleGlyph.cs
- PrePrepareMethodAttribute.cs
- StateMachineHistory.cs
- PreservationFileWriter.cs
- StringFreezingAttribute.cs
- PageRanges.cs
- BuildProvider.cs
- Misc.cs
- EncodingInfo.cs
- CompiledQueryCacheEntry.cs
- Line.cs
- RightsManagementEncryptedStream.cs
- ToolboxDataAttribute.cs
- ErrorFormatterPage.cs
- DeferrableContentConverter.cs
- SmtpSection.cs
- ColorTransform.cs
- SubqueryRules.cs
- SettingsPropertyValueCollection.cs
- TempFiles.cs
- ConstructorBuilder.cs
- TransactionManagerProxy.cs
- OdbcUtils.cs
- CatalogZoneBase.cs
- PageContent.cs
- BypassElementCollection.cs
- URLMembershipCondition.cs
- PreservationFileReader.cs
- Compiler.cs
- OperationParameterInfoCollection.cs
- AdapterDictionary.cs
- DispatchProxy.cs
- BasicViewGenerator.cs
- WebContentFormatHelper.cs
- PeerNameRecordCollection.cs
- MaskedTextBoxTextEditorDropDown.cs
- EventSetter.cs
- PackWebResponse.cs
- MasterPageCodeDomTreeGenerator.cs
- EntityViewContainer.cs
- TdsEnums.cs
- NetSectionGroup.cs
- HttpEncoder.cs
- RoleServiceManager.cs
- EntityDataSourceValidationException.cs
- SqlCacheDependency.cs
- RenderingBiasValidation.cs
- UdpChannelFactory.cs
- KnownTypes.cs
- RSAPKCS1SignatureFormatter.cs
- StorageEntityContainerMapping.cs
- EnvelopedPkcs7.cs
- TraceUtility.cs
- OleDbWrapper.cs
- DbgCompiler.cs
- ScriptControlDescriptor.cs
- CookieHandler.cs
- CqlQuery.cs
- SHA1CryptoServiceProvider.cs
- OlePropertyStructs.cs
- ColorMatrix.cs
- WebMessageEncoderFactory.cs
- HandledEventArgs.cs
- EditingCoordinator.cs
- ScriptComponentDescriptor.cs
- FontStyleConverter.cs
- PeerServiceMessageContracts.cs
- ChtmlTextWriter.cs
- TraceContextEventArgs.cs
- PropertyIDSet.cs
- BaseParagraph.cs
- SelectionEditingBehavior.cs
- Stream.cs
- PeerNode.cs
- DefaultAsyncDataDispatcher.cs
- ToolStripPanelRenderEventArgs.cs
- URLAttribute.cs