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
- BitSet.cs
- IndentTextWriter.cs
- AutomationTextAttribute.cs
- XmlAnyAttributeAttribute.cs
- Parsers.cs
- ChannelRequirements.cs
- ProfileProvider.cs
- DesignerRegion.cs
- FastEncoder.cs
- SystemIcmpV6Statistics.cs
- TemplateControlCodeDomTreeGenerator.cs
- SystemTcpConnection.cs
- TabControl.cs
- TypeConverterAttribute.cs
- HtmlInputReset.cs
- AlignmentXValidation.cs
- HashMembershipCondition.cs
- Matrix3DValueSerializer.cs
- Int16AnimationUsingKeyFrames.cs
- ListView.cs
- NullableConverter.cs
- BulletDecorator.cs
- Scalars.cs
- BaseCollection.cs
- MenuAdapter.cs
- X509ChainElement.cs
- SchemaImporter.cs
- TypeConverter.cs
- DataGridViewUtilities.cs
- ValidationException.cs
- FixedSOMPage.cs
- CodeIterationStatement.cs
- CommentGlyph.cs
- DataGridCheckBoxColumn.cs
- BuildManagerHost.cs
- ConfigurationException.cs
- SolidBrush.cs
- SQLRoleProvider.cs
- SerialPinChanges.cs
- BmpBitmapEncoder.cs
- _LazyAsyncResult.cs
- CompilationAssemblyInstallComponent.cs
- SchemaNotation.cs
- BoolExpr.cs
- PersonalizableAttribute.cs
- RuleRefElement.cs
- RoleGroup.cs
- TextEndOfParagraph.cs
- BaseTemplatedMobileComponentEditor.cs
- MimePart.cs
- exports.cs
- UpDownBase.cs
- FramingDecoders.cs
- ScrollItemProviderWrapper.cs
- SymbolTable.cs
- DataGridViewCellPaintingEventArgs.cs
- WebConfigurationManager.cs
- SystemGatewayIPAddressInformation.cs
- mediapermission.cs
- SqlCommand.cs
- KeyInfo.cs
- CurrentChangingEventArgs.cs
- TiffBitmapEncoder.cs
- SchemaMerger.cs
- DistributedTransactionPermission.cs
- PropertyCondition.cs
- MethodCallTranslator.cs
- InheritedPropertyChangedEventArgs.cs
- RefExpr.cs
- MULTI_QI.cs
- EmptyCollection.cs
- DateTimeStorage.cs
- SqlUserDefinedTypeAttribute.cs
- ImageButton.cs
- StorageAssociationTypeMapping.cs
- ListBoxItemWrapperAutomationPeer.cs
- safemediahandle.cs
- NeutralResourcesLanguageAttribute.cs
- DataGridViewRowStateChangedEventArgs.cs
- AdRotator.cs
- MemberRelationshipService.cs
- SQLByteStorage.cs
- IIS7WorkerRequest.cs
- AuthenticationException.cs
- ISAPIApplicationHost.cs
- Rect3D.cs
- DebuggerAttributes.cs
- UnSafeCharBuffer.cs
- TextRangeEdit.cs
- PropertyPathConverter.cs
- VSWCFServiceContractGenerator.cs
- TextEvent.cs
- ContentPosition.cs
- DataContractSerializerSection.cs
- DesignerDataTableBase.cs
- Rotation3DAnimation.cs
- EdgeModeValidation.cs
- CacheHelper.cs
- DataGridViewComboBoxCell.cs
- XmlCodeExporter.cs