Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / GenericsInstances.cs / 1305600 / GenericsInstances.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) 2003 by Microsoft Corporation. All rights reserved.
//
//
//
// Description: defining types with Generics in WindowsBase.dll that are only
// instantiated in PresentationCore/-Framework assemblies need a dummy
// instantiation in this assembly to trigger proper ngen when WB.dll
// is installed.
// This prevents JIT-ing when WB.dll is loaded.
//
//---------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace MS.Internal
{
internal static class GenericsInstances
{
// ObservableCollection / ReadOnlyObservableCollection
private static ObservableCollection
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ComplexObject.cs
- Model3DCollection.cs
- DefaultValidator.cs
- KeyPressEvent.cs
- MetadataItem_Static.cs
- ApplicationFileParser.cs
- BuildResultCache.cs
- DesignerTransaction.cs
- ConfigXmlElement.cs
- Pts.cs
- NamedPipeConnectionPool.cs
- TokenizerHelper.cs
- XmlSchemaInferenceException.cs
- connectionpool.cs
- XmlNamedNodeMap.cs
- IPGlobalProperties.cs
- SoundPlayerAction.cs
- ConnectionStringsExpressionEditor.cs
- InvalidComObjectException.cs
- VerificationException.cs
- TypePresenter.xaml.cs
- DataGridViewToolTip.cs
- HttpPostProtocolImporter.cs
- RecordManager.cs
- BasicHttpMessageSecurity.cs
- WorkflowOwnershipException.cs
- ControlValuePropertyAttribute.cs
- HtmlInputControl.cs
- DecoderNLS.cs
- DocumentApplicationState.cs
- SystemTcpConnection.cs
- StylusPointPropertyInfo.cs
- JumpTask.cs
- GatewayDefinition.cs
- MetadataArtifactLoaderResource.cs
- WizardForm.cs
- GridItemCollection.cs
- ProcessThread.cs
- CodeSnippetStatement.cs
- AxImporter.cs
- HtmlElement.cs
- ServiceCredentials.cs
- XmlSchemaAttributeGroupRef.cs
- DataGridViewDataErrorEventArgs.cs
- assertwrapper.cs
- HtmlInputControl.cs
- FixedSOMPageConstructor.cs
- ContentDisposition.cs
- ReliableInputConnection.cs
- KeyEvent.cs
- CompleteWizardStep.cs
- ComboBoxItem.cs
- WebEventCodes.cs
- CodeTypeReferenceExpression.cs
- Label.cs
- ResourcesChangeInfo.cs
- IsolatedStorageFilePermission.cs
- __TransparentProxy.cs
- _UncName.cs
- GenericWebPart.cs
- ActiveDocumentEvent.cs
- TemplateColumn.cs
- GacUtil.cs
- UpdatableGenericsFeature.cs
- UnsafeNativeMethods.cs
- SmtpFailedRecipientsException.cs
- DocumentGridContextMenu.cs
- XmlSchemaSimpleContentExtension.cs
- SqlTriggerContext.cs
- TagPrefixAttribute.cs
- PageParserFilter.cs
- dsa.cs
- SqlNotificationRequest.cs
- SplitterEvent.cs
- JapaneseCalendar.cs
- SingletonConnectionReader.cs
- NativeMethods.cs
- CapabilitiesAssignment.cs
- SimpleMailWebEventProvider.cs
- ProfileBuildProvider.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Parameter.cs
- IdentityNotMappedException.cs
- CssClassPropertyAttribute.cs
- NativeMethodsOther.cs
- DataGridViewSelectedCellCollection.cs
- CmsInterop.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- PaperSource.cs
- ParallelEnumerableWrapper.cs
- InfoCardProofToken.cs
- DataGridCell.cs
- SweepDirectionValidation.cs
- AnonymousIdentificationModule.cs
- SQLMoneyStorage.cs
- ToolStripDropDownButton.cs
- TableRowGroupCollection.cs
- smtpconnection.cs
- ImportContext.cs
- HuffModule.cs