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 / ReadOnlyObservableCollectionprivate static ObservableCollection