Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 2 / AssemblySettingAttributes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namespace System.Runtime.CompilerServices { using System; using System.Runtime.InteropServices; /* NGenHint is not supported in Whidbey [Serializable] public enum NGenHint { Default = 0x0000, // No preference specified Eager = 0x0001, // NGen at install time Lazy = 0x0002, // NGen after install time Never = 0x0003, // Assembly should not be ngened } */ [Serializable] public enum LoadHint { Default = 0x0000, // No preference specified Always = 0x0001, // Dependency is always loaded Sometimes = 0x0002, // Dependency is sometimes loaded //Never = 0x0003, // Dependency is never loaded } [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class DefaultDependencyAttribute : Attribute { private LoadHint loadHint; public DefaultDependencyAttribute ( LoadHint loadHintArgument ) { loadHint = loadHintArgument; } public LoadHint LoadHint { get { return loadHint; } } } [Serializable, AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class DependencyAttribute : Attribute { private String dependentAssembly; private LoadHint loadHint; public DependencyAttribute ( String dependentAssemblyArgument, LoadHint loadHintArgument ) { dependentAssembly = dependentAssemblyArgument; loadHint = loadHintArgument; } public String DependentAssembly { get { return dependentAssembly; } } public LoadHint LoadHint { get { return loadHint; } } } } // 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
- DrawItemEvent.cs
- SystemResourceHost.cs
- StringFormat.cs
- DrawingServices.cs
- base64Transforms.cs
- TableItemProviderWrapper.cs
- ScrollEventArgs.cs
- MenuStrip.cs
- DataGridViewComboBoxCell.cs
- ApplicationHost.cs
- Decoder.cs
- ReachPageContentCollectionSerializer.cs
- SmtpNetworkElement.cs
- DeviceFiltersSection.cs
- SHA1Managed.cs
- Margins.cs
- DataGridViewBindingCompleteEventArgs.cs
- WaitingCursor.cs
- Permission.cs
- OleDbReferenceCollection.cs
- Tablet.cs
- CompilerLocalReference.cs
- TabRenderer.cs
- ProcessInfo.cs
- PasswordRecovery.cs
- TreeChangeInfo.cs
- ReaderWriterLockWrapper.cs
- Queue.cs
- SerialPinChanges.cs
- CreationContext.cs
- DecimalFormatter.cs
- TableTextElementCollectionInternal.cs
- SolidBrush.cs
- cryptoapiTransform.cs
- TextTreeTextElementNode.cs
- VoiceSynthesis.cs
- WebConvert.cs
- DataControlImageButton.cs
- ExpressionBinding.cs
- EpmSyndicationContentSerializer.cs
- PointConverter.cs
- DataPagerCommandEventArgs.cs
- RawStylusInputReport.cs
- GridViewPageEventArgs.cs
- ListViewAutomationPeer.cs
- AlignmentXValidation.cs
- ColorMap.cs
- ImageCodecInfoPrivate.cs
- ComponentDispatcher.cs
- Axis.cs
- BitmapEffectDrawingContextWalker.cs
- ContextMenuStripGroup.cs
- InvalidPropValue.cs
- SafeNativeMethods.cs
- StringUtil.cs
- WebServiceTypeData.cs
- ScrollBar.cs
- EndPoint.cs
- CustomValidator.cs
- SafeNativeMethodsCLR.cs
- ContainerControl.cs
- MultiPropertyDescriptorGridEntry.cs
- CredentialSelector.cs
- MimeObjectFactory.cs
- SecurityTokenValidationException.cs
- DiscoveryViaBehavior.cs
- ChameleonKey.cs
- EntityTemplateFactory.cs
- SubtreeProcessor.cs
- VirtualDirectoryMapping.cs
- HwndAppCommandInputProvider.cs
- VisualStyleElement.cs
- ScriptComponentDescriptor.cs
- sqlcontext.cs
- ClientProxyGenerator.cs
- StringUtil.cs
- TypeSystem.cs
- SoapTypeAttribute.cs
- ZoomingMessageFilter.cs
- PropertyChangedEventArgs.cs
- RemoteWebConfigurationHost.cs
- GroupQuery.cs
- SerializationSectionGroup.cs
- RuleInfoComparer.cs
- CodeMethodReturnStatement.cs
- MediaScriptCommandRoutedEventArgs.cs
- ExtensionSimplifierMarkupObject.cs
- _DomainName.cs
- TrackingLocation.cs
- TypeFieldSchema.cs
- ProxySimple.cs
- XamlVector3DCollectionSerializer.cs
- BamlResourceContent.cs
- ClientScriptManager.cs
- HWStack.cs
- ComponentResourceManager.cs
- RequestQueryProcessor.cs
- PseudoWebRequest.cs
- ComponentSerializationService.cs
- ConfigurationLocationCollection.cs