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
- DataSourceXmlTextReader.cs
- ReadWriteObjectLock.cs
- MenuCommandsChangedEventArgs.cs
- TextSimpleMarkerProperties.cs
- CacheAxisQuery.cs
- ConnectionStringsExpressionBuilder.cs
- WaitHandle.cs
- NavigationWindowAutomationPeer.cs
- HttpApplicationFactory.cs
- HandlerBase.cs
- DataSourceXmlTextReader.cs
- XmlTypeMapping.cs
- ResourceReader.cs
- MethodRental.cs
- RadioButtonList.cs
- TdsParser.cs
- AccessKeyManager.cs
- XPathSelectionIterator.cs
- GenericAuthenticationEventArgs.cs
- XmlUTF8TextReader.cs
- CalendarDesigner.cs
- InstanceData.cs
- CapiSafeHandles.cs
- XamlSerializerUtil.cs
- ScrollChangedEventArgs.cs
- _NegoState.cs
- RangeValuePatternIdentifiers.cs
- SoapMessage.cs
- TimeStampChecker.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- Enlistment.cs
- PreviewPrintController.cs
- DataGridCellsPanel.cs
- DialogDivider.cs
- DisableDpiAwarenessAttribute.cs
- _NegoState.cs
- IEnumerable.cs
- SQLMembershipProvider.cs
- CorrelationInitializer.cs
- FrameworkContextData.cs
- BufferedStream.cs
- RowUpdatingEventArgs.cs
- XmlWriter.cs
- TableLayoutSettingsTypeConverter.cs
- errorpatternmatcher.cs
- TextTreeInsertElementUndoUnit.cs
- TypeValidationEventArgs.cs
- BufferAllocator.cs
- DeferredTextReference.cs
- FixedSOMFixedBlock.cs
- HuffmanTree.cs
- EnumCodeDomSerializer.cs
- AtomServiceDocumentSerializer.cs
- IncrementalReadDecoders.cs
- BamlResourceContent.cs
- HttpFileCollection.cs
- ValueUtilsSmi.cs
- COMException.cs
- AnonymousIdentificationModule.cs
- PropertyKey.cs
- WebUtil.cs
- StyleBamlRecordReader.cs
- BlurEffect.cs
- DockPanel.cs
- IdnElement.cs
- WinEventQueueItem.cs
- UnsafeNativeMethods.cs
- bindurihelper.cs
- CommandLineParser.cs
- ObjectViewQueryResultData.cs
- Vector3DAnimationBase.cs
- MenuItemBindingCollection.cs
- FrameworkContextData.cs
- TextBox.cs
- MobileControlsSection.cs
- PerSessionInstanceContextProvider.cs
- PartitionResolver.cs
- validationstate.cs
- ColorContextHelper.cs
- GridViewItemAutomationPeer.cs
- TraceHandler.cs
- DesignerObject.cs
- SrgsSemanticInterpretationTag.cs
- StructuralObject.cs
- FrameworkElement.cs
- AssemblyCache.cs
- MessageQueueConverter.cs
- Memoizer.cs
- XslAst.cs
- mongolianshape.cs
- Vector3DKeyFrameCollection.cs
- GridViewRow.cs
- Array.cs
- FileUpload.cs
- QilUnary.cs
- TransformPattern.cs
- _AuthenticationState.cs
- PriorityBinding.cs
- FormViewPagerRow.cs
- PTConverter.cs