Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Internal.cs / 1 / Internal.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** This file exists to contain miscellaneous module-level attributes ** and other miscellaneous stuff. ** ** ** ===========================================================*/ using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Collections.Generic; using System.Reflection; #if FEATURE_COMINTEROP [assembly:Guid("BED7F4EA-1A96-11d2-8F08-00A0C9A6186D")] // The following attribute are required to ensure COM compatibility. [assembly:System.Runtime.InteropServices.ComCompatibleVersion(1, 0, 3300, 0)] [assembly:System.Runtime.InteropServices.TypeLibVersion(2, 0)] #endif // FEATURE_COMINTEROP [assembly:DefaultDependencyAttribute(LoadHint.Always)] // mscorlib would like to have its literal strings frozen if possible [assembly: System.Runtime.CompilerServices.StringFreezingAttribute()] namespace System { static class Internal { // This method is purely an aid for NGen to statically deduce which // instantiations to save in the ngen image. // Otherwise, the JIT-compiler gets used, which is bad for working-set. // Note that IBC can provide this information too. // However, this helps in keeping the JIT-compiler out even for // test scenarios which do not use IBC. // This can be removed after V2, when we implement other schemes // of keeping the JIT-compiler out for generic instantiations. static void CommonlyUsedGenericInstantiations_HACK() { // Make absolutely sure we include some of the most common // instantiations here in mscorlib's ngen image. // Note that reference type instantiations are already included // automatically for us. new ArraySegment(new byte[1], 0, 0); new Dictionary (); new Dictionary (); new Dictionary (); new Dictionary (); new Dictionary (); new Dictionary (); new Dictionary
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Trace.cs
- PlainXmlSerializer.cs
- xmlsaver.cs
- ComplexLine.cs
- ServiceKnownTypeAttribute.cs
- RequestContext.cs
- LookupNode.cs
- CodeChecksumPragma.cs
- XmlDocumentFragment.cs
- NullableFloatSumAggregationOperator.cs
- Exception.cs
- PanelStyle.cs
- DbSourceCommand.cs
- SigningCredentials.cs
- CssTextWriter.cs
- CellQuery.cs
- WSHttpBindingElement.cs
- SHA256Managed.cs
- CollectionBuilder.cs
- XPathNode.cs
- RtfToXamlReader.cs
- SourceChangedEventArgs.cs
- ContainsRowNumberChecker.cs
- XmlCustomFormatter.cs
- LocatorPartList.cs
- IssuedTokenClientCredential.cs
- GeneralTransform3D.cs
- ProfilePropertySettings.cs
- TypeConverterHelper.cs
- UnsafeNetInfoNativeMethods.cs
- ICollection.cs
- MsmqBindingElementBase.cs
- FileChangesMonitor.cs
- CardSpaceException.cs
- DbProviderSpecificTypePropertyAttribute.cs
- XmlWrappingReader.cs
- DeadLetterQueue.cs
- EditorPartChrome.cs
- StylusPointPropertyUnit.cs
- IgnoreFileBuildProvider.cs
- ListBox.cs
- CompModSwitches.cs
- TypeResolvingOptions.cs
- WebBrowserHelper.cs
- BlurEffect.cs
- XmlSerializerFactory.cs
- PackageDigitalSignatureManager.cs
- TypedReference.cs
- ExclusiveHandle.cs
- WindowsEditBox.cs
- FactoryGenerator.cs
- BitmapEffectDrawing.cs
- BStrWrapper.cs
- FlowPosition.cs
- TreeWalkHelper.cs
- DoubleCollectionConverter.cs
- ToolStripContainer.cs
- XmlEncoding.cs
- MapPathBasedVirtualPathProvider.cs
- SecurityTokenAuthenticator.cs
- SortableBindingList.cs
- ReaderWriterLockSlim.cs
- DbgUtil.cs
- MemoryRecordBuffer.cs
- AmbiguousMatchException.cs
- ImportDesigner.xaml.cs
- TextDecoration.cs
- DbConnectionPoolCounters.cs
- Operators.cs
- StaticTextPointer.cs
- GridSplitterAutomationPeer.cs
- SimpleApplicationHost.cs
- MappedMetaModel.cs
- BooleanProjectedSlot.cs
- StatusBarPanelClickEvent.cs
- XmlSchemaImporter.cs
- ProfileEventArgs.cs
- UIElement.cs
- HttpApplicationFactory.cs
- ActivityInterfaces.cs
- TypeDelegator.cs
- FindCriteriaCD1.cs
- AssemblyAttributes.cs
- HttpProfileGroupBase.cs
- URIFormatException.cs
- DoWorkEventArgs.cs
- MetabaseServerConfig.cs
- diagnosticsswitches.cs
- InternalConfigRoot.cs
- SchemaImporterExtensionElement.cs
- PriorityQueue.cs
- SecurityTokenValidationException.cs
- AssemblyName.cs
- TextRunCacheImp.cs
- Perspective.cs
- UpWmlPageAdapter.cs
- GuidTagList.cs
- sqlcontext.cs
- SQLInt64.cs
- XpsFixedDocumentSequenceReaderWriter.cs