Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ellipse.cs
- AuthStoreRoleProvider.cs
- ThreadAttributes.cs
- ReadOnlyNameValueCollection.cs
- NetworkInformationException.cs
- TreeNodeClickEventArgs.cs
- Encoder.cs
- Drawing.cs
- _SecureChannel.cs
- SecondaryIndexList.cs
- MailDefinition.cs
- BaseHashHelper.cs
- AdjustableArrowCap.cs
- filewebrequest.cs
- CacheSection.cs
- ReleaseInstanceMode.cs
- PartialTrustVisibleAssembliesSection.cs
- Schema.cs
- FilterException.cs
- ActivityDesignerLayoutSerializers.cs
- CommonGetThemePartSize.cs
- ReaderWriterLockSlim.cs
- DbParameterCollection.cs
- CommandField.cs
- Attribute.cs
- SoundPlayer.cs
- ResetableIterator.cs
- LoaderAllocator.cs
- Module.cs
- HttpListenerException.cs
- FolderBrowserDialog.cs
- UIElement3D.cs
- SqlCaseSimplifier.cs
- CustomAttribute.cs
- PropertyManager.cs
- _TLSstream.cs
- TrailingSpaceComparer.cs
- IdnMapping.cs
- UniqueEventHelper.cs
- LongTypeConverter.cs
- ManagedIStream.cs
- TraceListener.cs
- DeclarationUpdate.cs
- XmlElementAttributes.cs
- ArgIterator.cs
- QueryOutputWriterV1.cs
- VisualStates.cs
- PlatformCulture.cs
- ServiceOperationListItem.cs
- URL.cs
- Debug.cs
- LinqDataSourceEditData.cs
- IndexOutOfRangeException.cs
- UshortList2.cs
- FtpWebResponse.cs
- Int32Animation.cs
- PipeStream.cs
- PauseStoryboard.cs
- CustomCategoryAttribute.cs
- WebExceptionStatus.cs
- serverconfig.cs
- XmlExceptionHelper.cs
- ComboBoxRenderer.cs
- Models.cs
- TdsParserHelperClasses.cs
- MenuStrip.cs
- BoundColumn.cs
- TextBoxRenderer.cs
- OpenFileDialog.cs
- GroupDescription.cs
- FileStream.cs
- NumberSubstitution.cs
- WebPartDescriptionCollection.cs
- BindingSource.cs
- LifetimeServices.cs
- ConfigurationManagerHelper.cs
- EmptyCollection.cs
- FunctionImportMapping.cs
- PrintPreviewDialog.cs
- TraceInternal.cs
- XmlSerializerNamespaces.cs
- ClientUtils.cs
- PropertyValueEditor.cs
- RangeBaseAutomationPeer.cs
- HttpWebRequestElement.cs
- InternalSendMessage.cs
- webclient.cs
- ChannelBinding.cs
- DynamicRendererThreadManager.cs
- StatusBarPanel.cs
- NetStream.cs
- OracleConnection.cs
- ScriptResourceDefinition.cs
- Win32.cs
- Mapping.cs
- DrawingContextWalker.cs
- XhtmlBasicLabelAdapter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- SystemColorTracker.cs
- OracleTimeSpan.cs