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
- OpCodes.cs
- PackagePart.cs
- XsdDateTime.cs
- XmlQueryOutput.cs
- AvTrace.cs
- PageThemeCodeDomTreeGenerator.cs
- FileSystemWatcher.cs
- ConnectionProviderAttribute.cs
- ActivationArguments.cs
- ToolStripGripRenderEventArgs.cs
- WinEventTracker.cs
- CryptoSession.cs
- KeyGestureConverter.cs
- CacheMode.cs
- AssociationTypeEmitter.cs
- SimpleHandlerBuildProvider.cs
- QuaternionAnimation.cs
- OdbcFactory.cs
- TimeZone.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ChineseLunisolarCalendar.cs
- RuntimeWrappedException.cs
- mactripleDES.cs
- InertiaRotationBehavior.cs
- PassportAuthenticationEventArgs.cs
- AlignmentYValidation.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- SafeHandles.cs
- MexHttpBindingCollectionElement.cs
- RecordManager.cs
- Root.cs
- PasswordBoxAutomationPeer.cs
- SqlDataReaderSmi.cs
- BaseTypeViewSchema.cs
- SiteMapSection.cs
- ServiceNameCollection.cs
- EntityDataSourceStatementEditor.cs
- IsolatedStorageSecurityState.cs
- EventDescriptor.cs
- AlgoModule.cs
- RawMouseInputReport.cs
- ContentPlaceHolder.cs
- GorillaCodec.cs
- ArglessEventHandlerProxy.cs
- DatagridviewDisplayedBandsData.cs
- IgnoreFileBuildProvider.cs
- ContractInferenceHelper.cs
- XdrBuilder.cs
- WebPartDescription.cs
- Timer.cs
- SqlNodeAnnotation.cs
- GlyphingCache.cs
- DataServiceSaveChangesEventArgs.cs
- HtmlHistory.cs
- SynchronizationLockException.cs
- CroppedBitmap.cs
- InfoCardRSACryptoProvider.cs
- _emptywebproxy.cs
- MutableAssemblyCacheEntry.cs
- shaperfactory.cs
- OLEDB_Enum.cs
- WebPartDescription.cs
- XmlSerializerSection.cs
- BindToObject.cs
- DataTemplateSelector.cs
- ToolStripCollectionEditor.cs
- DataGridCell.cs
- ActivationArguments.cs
- PackUriHelper.cs
- Guid.cs
- StorageEntitySetMapping.cs
- CaseInsensitiveHashCodeProvider.cs
- RemoteCryptoDecryptRequest.cs
- SoapHeader.cs
- XmlMemberMapping.cs
- CollectionView.cs
- ListSortDescriptionCollection.cs
- keycontainerpermission.cs
- VirtualPathProvider.cs
- PeerInvitationResponse.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- MessageQueuePermissionEntry.cs
- ExecutionContext.cs
- itemelement.cs
- GroupBox.cs
- Rfc2898DeriveBytes.cs
- RecipientInfo.cs
- UpdatableWrapper.cs
- DependencySource.cs
- ViewPort3D.cs
- TriggerCollection.cs
- AssociationProvider.cs
- WindowsRegion.cs
- HttpModuleAction.cs
- KeyedCollection.cs
- WinFormsSecurity.cs
- Expressions.cs
- BuildProviderAppliesToAttribute.cs
- TypedTableBase.cs
- DictionaryEntry.cs