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
- RequestTimeoutManager.cs
- UnicodeEncoding.cs
- WebPartTransformerAttribute.cs
- PromptEventArgs.cs
- ErrorHandlingAcceptor.cs
- KnownTypesHelper.cs
- TransactionFlowBindingElement.cs
- ProcessingInstructionAction.cs
- Literal.cs
- ListManagerBindingsCollection.cs
- BindingWorker.cs
- TextRange.cs
- CodeMemberField.cs
- VersionedStream.cs
- Point3DCollection.cs
- FileDataSourceCache.cs
- TrackingMemoryStreamFactory.cs
- XmlMembersMapping.cs
- InheritanceRules.cs
- Tablet.cs
- MenuItemAutomationPeer.cs
- ToolStripArrowRenderEventArgs.cs
- XmlSubtreeReader.cs
- SafePipeHandle.cs
- Column.cs
- ReachSerializer.cs
- PasswordBoxAutomationPeer.cs
- DayRenderEvent.cs
- ProfileServiceManager.cs
- LogicalChannel.cs
- UDPClient.cs
- MachineKey.cs
- XPathItem.cs
- AppSettingsExpressionBuilder.cs
- NamespaceDecl.cs
- GlyphManager.cs
- WorkflowQueueInfo.cs
- XamlRtfConverter.cs
- hebrewshape.cs
- RemotingAttributes.cs
- _UriTypeConverter.cs
- RequestQueryProcessor.cs
- ValidatorCollection.cs
- LinkLabel.cs
- FragmentQueryKB.cs
- HtmlInputSubmit.cs
- dbdatarecord.cs
- ListContractAdapter.cs
- _Rfc2616CacheValidators.cs
- FormViewDeleteEventArgs.cs
- DbProviderFactoriesConfigurationHandler.cs
- HandlerBase.cs
- XmlSchemaInferenceException.cs
- ComponentCommands.cs
- RSACryptoServiceProvider.cs
- BinaryObjectReader.cs
- TreeIterator.cs
- PipeSecurity.cs
- BmpBitmapDecoder.cs
- Bezier.cs
- SecondaryIndexList.cs
- PassportAuthentication.cs
- SoapFormatterSinks.cs
- AddInAttribute.cs
- SingleConverter.cs
- GACMembershipCondition.cs
- SubpageParaClient.cs
- ClientConfigurationHost.cs
- PropertyCondition.cs
- ControlTemplate.cs
- TableChangeProcessor.cs
- SourceFileBuildProvider.cs
- ReadOnlyCollection.cs
- documentation.cs
- ExpressionLink.cs
- DomNameTable.cs
- ApplicationBuildProvider.cs
- Storyboard.cs
- UpdateEventArgs.cs
- ObjectPersistData.cs
- HtmlDocument.cs
- XmlText.cs
- HTTPNotFoundHandler.cs
- BasicCommandTreeVisitor.cs
- DataGridViewColumnHeaderCell.cs
- ColumnCollection.cs
- GroupStyle.cs
- TextRunCache.cs
- MouseActionConverter.cs
- RuleCache.cs
- AliasGenerator.cs
- DataGridItem.cs
- PointUtil.cs
- FixedSchema.cs
- EmulateRecognizeCompletedEventArgs.cs
- QuestionEventArgs.cs
- DataTableReader.cs
- TypedReference.cs
- ParameterCollection.cs
- RoleManagerEventArgs.cs