Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CmsInterop.cs
- Int32Rect.cs
- ExeConfigurationFileMap.cs
- HashCodeCombiner.cs
- DataFormats.cs
- AmbiguousMatchException.cs
- RayMeshGeometry3DHitTestResult.cs
- PathFigureCollectionValueSerializer.cs
- SourceInterpreter.cs
- PinnedBufferMemoryStream.cs
- PropertyDescriptor.cs
- WaitHandleCannotBeOpenedException.cs
- ToolboxItemSnapLineBehavior.cs
- XmlBinaryWriter.cs
- MarkerProperties.cs
- CryptoApi.cs
- EntityCommandDefinition.cs
- ArithmeticException.cs
- XmlUtf8RawTextWriter.cs
- RuntimeHandles.cs
- InvalidBodyAccessException.cs
- ImageConverter.cs
- ThrowHelper.cs
- RtfNavigator.cs
- HashLookup.cs
- RequestCacheEntry.cs
- SolidColorBrush.cs
- EventLogPropertySelector.cs
- CodeMethodInvokeExpression.cs
- DbConnectionPoolGroupProviderInfo.cs
- GroupBox.cs
- HttpResponseHeader.cs
- BufferAllocator.cs
- ParseNumbers.cs
- XmlReturnReader.cs
- altserialization.cs
- DispatcherProcessingDisabled.cs
- KeyConverter.cs
- DataGridPageChangedEventArgs.cs
- WebHttpSecurityModeHelper.cs
- EventQueueState.cs
- UIAgentRequest.cs
- AuthorizationRuleCollection.cs
- SeparatorAutomationPeer.cs
- Validator.cs
- InkSerializer.cs
- PointF.cs
- DateTimeAutomationPeer.cs
- OpenTypeLayoutCache.cs
- MaskedTextProvider.cs
- EventLogger.cs
- State.cs
- ImageCodecInfoPrivate.cs
- SqlParameterCollection.cs
- IndependentAnimationStorage.cs
- TraceHandler.cs
- ChunkedMemoryStream.cs
- PropertyTab.cs
- SelectionChangedEventArgs.cs
- LicenseContext.cs
- DesignerActionUIService.cs
- Menu.cs
- Helpers.cs
- PolicyValidationException.cs
- ObjectViewFactory.cs
- JsonReader.cs
- InternalException.cs
- XmlSchemaComplexContentExtension.cs
- BamlRecordWriter.cs
- ADConnectionHelper.cs
- WebHeaderCollection.cs
- DbSourceParameterCollection.cs
- SelectionRangeConverter.cs
- TemplateKey.cs
- InputLanguageEventArgs.cs
- StreamSecurityUpgradeInitiatorBase.cs
- SafeNativeMethods.cs
- Decoder.cs
- MaterialGroup.cs
- StaticExtension.cs
- NumericPagerField.cs
- DropTarget.cs
- InvokeGenerator.cs
- SessionPageStatePersister.cs
- PasswordTextContainer.cs
- SweepDirectionValidation.cs
- ToolStripItemCollection.cs
- SiteOfOriginPart.cs
- shaperfactoryquerycachekey.cs
- QueryOutputWriter.cs
- KeyConstraint.cs
- XamlStyleSerializer.cs
- ToolStripPanelRenderEventArgs.cs
- SiteMapSection.cs
- pingexception.cs
- SchemaInfo.cs
- DbXmlEnabledProviderManifest.cs
- Expressions.cs
- WorkflowCommandExtensionItem.cs
- IdleTimeoutMonitor.cs