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
- Dispatcher.cs
- ApplicationFileParser.cs
- Activity.cs
- ColumnTypeConverter.cs
- WindowsFormsHost.cs
- DataView.cs
- PropertyValueUIItem.cs
- UnsafeNativeMethodsPenimc.cs
- CustomActivityDesigner.cs
- ColorInterpolationModeValidation.cs
- ComponentSerializationService.cs
- ListItemCollection.cs
- XmlNodeReader.cs
- TextServicesCompartmentEventSink.cs
- EventNotify.cs
- InvalidProgramException.cs
- DuplicateWaitObjectException.cs
- RoleBoolean.cs
- XmlSchemaComplexContent.cs
- StylusButton.cs
- SqlCommandSet.cs
- XpsStructure.cs
- ButtonColumn.cs
- ErrorFormatter.cs
- KeyValueSerializer.cs
- IsolatedStorageFileStream.cs
- _ScatterGatherBuffers.cs
- DelayedRegex.cs
- ProfilePropertySettings.cs
- SafeHandle.cs
- OdbcConnectionPoolProviderInfo.cs
- Style.cs
- TextInfo.cs
- PopupRoot.cs
- SQLSingle.cs
- Model3DCollection.cs
- XPathPatternParser.cs
- XmlSerializerNamespaces.cs
- SemaphoreSecurity.cs
- PersonalizationStateInfoCollection.cs
- StringArrayConverter.cs
- MethodAccessException.cs
- NetNamedPipeSecurity.cs
- MachineKey.cs
- TypeDescriptionProvider.cs
- NoClickablePointException.cs
- Image.cs
- ObfuscationAttribute.cs
- RectangleGeometry.cs
- configsystem.cs
- DataGridHelper.cs
- FlagPanel.cs
- CryptoConfig.cs
- mansign.cs
- DataMemberFieldEditor.cs
- PersistChildrenAttribute.cs
- DispatcherExceptionEventArgs.cs
- DataGridPageChangedEventArgs.cs
- ConstantSlot.cs
- Unit.cs
- DataGridItemAutomationPeer.cs
- DataSourceXmlSerializationAttribute.cs
- ImageSource.cs
- TreeNodeBinding.cs
- DrawingGroupDrawingContext.cs
- VolatileEnlistmentState.cs
- LongValidator.cs
- ServerIdentity.cs
- RemotingServices.cs
- Logging.cs
- PositiveTimeSpanValidatorAttribute.cs
- WebCategoryAttribute.cs
- HeaderCollection.cs
- SafeEventLogWriteHandle.cs
- StringUtil.cs
- KnownBoxes.cs
- FillBehavior.cs
- mediaeventshelper.cs
- HandlerWithFactory.cs
- MenuRenderer.cs
- HttpException.cs
- TextEndOfSegment.cs
- XsltArgumentList.cs
- Invariant.cs
- DurableOperationContext.cs
- ApplicationActivator.cs
- MouseWheelEventArgs.cs
- MediaContextNotificationWindow.cs
- XmlSchemaAnnotation.cs
- KeyValueConfigurationCollection.cs
- DataGridHeaderBorder.cs
- TreeNodeEventArgs.cs
- UiaCoreTypesApi.cs
- DataGridViewAdvancedBorderStyle.cs
- SQLInt16.cs
- _SSPISessionCache.cs
- SymmetricCryptoHandle.cs
- NavigationWindowAutomationPeer.cs
- RegexCompilationInfo.cs
- DataColumnChangeEvent.cs