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
- EdmItemCollection.OcAssemblyCache.cs
- MimeTypeAttribute.cs
- ExtensionSimplifierMarkupObject.cs
- SchemaManager.cs
- ZoomPercentageConverter.cs
- TreeNodeStyleCollection.cs
- IISUnsafeMethods.cs
- EntityContainer.cs
- ProfileProvider.cs
- MailAddressParser.cs
- WebConfigurationHostFileChange.cs
- Stroke2.cs
- FieldTemplateFactory.cs
- CustomError.cs
- LineGeometry.cs
- DesignerActionVerbItem.cs
- StrongNameKeyPair.cs
- WorkItem.cs
- Image.cs
- ProfileSettings.cs
- ClientScriptItemCollection.cs
- XamlBrushSerializer.cs
- MaskInputRejectedEventArgs.cs
- BinaryNode.cs
- ObjectPersistData.cs
- CalendarDataBindingHandler.cs
- SerializationBinder.cs
- SchemaMerger.cs
- EntityContainerEmitter.cs
- XmlSchemaExporter.cs
- Paragraph.cs
- CompiledIdentityConstraint.cs
- RegexGroup.cs
- HopperCache.cs
- ColorKeyFrameCollection.cs
- DataGridViewElement.cs
- DiscoveryExceptionDictionary.cs
- TextTreeRootNode.cs
- UInt32.cs
- StandardOleMarshalObject.cs
- DeferredElementTreeState.cs
- SystemParameters.cs
- SqlClientWrapperSmiStream.cs
- CheckBoxDesigner.cs
- TextHidden.cs
- Helper.cs
- ChannelRequirements.cs
- StorageSetMapping.cs
- SQLInt32Storage.cs
- HtmlElementErrorEventArgs.cs
- ScriptReference.cs
- CharacterBufferReference.cs
- CodeAttributeDeclarationCollection.cs
- PointIndependentAnimationStorage.cs
- ProcessModelInfo.cs
- FeatureSupport.cs
- TargetException.cs
- CodeSubDirectoriesCollection.cs
- WizardStepBase.cs
- RegexRunnerFactory.cs
- DESCryptoServiceProvider.cs
- SHA256.cs
- Stream.cs
- UriWriter.cs
- Environment.cs
- PathSegment.cs
- Char.cs
- TypeReference.cs
- AnyAllSearchOperator.cs
- NativeMethods.cs
- UnknownBitmapEncoder.cs
- ShapingWorkspace.cs
- AnnotationHighlightLayer.cs
- RegisteredScript.cs
- ListControl.cs
- ClientUtils.cs
- CacheDependency.cs
- SqlGenericUtil.cs
- IntellisenseTextBox.cs
- PublisherIdentityPermission.cs
- InvalidAsynchronousStateException.cs
- TimersDescriptionAttribute.cs
- Compiler.cs
- IdentityValidationException.cs
- CompoundFileReference.cs
- VirtualizedCellInfoCollection.cs
- ExpressionBuilder.cs
- RemotingConfiguration.cs
- SchemaNamespaceManager.cs
- XmlSchemaComplexContentExtension.cs
- TextBlockAutomationPeer.cs
- ListBindingConverter.cs
- DirtyTextRange.cs
- XmlSchemaParticle.cs
- SelectionItemPattern.cs
- PropertyFilterAttribute.cs
- IntegerValidator.cs
- Bezier.cs
- XmlChildEnumerator.cs
- SecurityTokenRequirement.cs