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
- formatter.cs
- NamespaceEmitter.cs
- NonParentingControl.cs
- AccessKeyManager.cs
- ThumbButtonInfoCollection.cs
- BamlStream.cs
- WindowsScrollBar.cs
- DictionaryBase.cs
- IsolationInterop.cs
- UdpReplyToBehavior.cs
- SymmetricSecurityBindingElement.cs
- FamilyMapCollection.cs
- _HTTPDateParse.cs
- CacheSection.cs
- Int16AnimationBase.cs
- EmptyEnumerable.cs
- CollectionContainer.cs
- IncrementalReadDecoders.cs
- NativeMethods.cs
- Utility.cs
- SessionState.cs
- RepeatBehaviorConverter.cs
- Emitter.cs
- View.cs
- HashLookup.cs
- DataGridTextBoxColumn.cs
- SoapHttpTransportImporter.cs
- ConfigurationSectionGroupCollection.cs
- ConsoleKeyInfo.cs
- RoleGroup.cs
- ListViewTableCell.cs
- IERequestCache.cs
- OdbcInfoMessageEvent.cs
- ServiceObjectContainer.cs
- BitmapEffectGroup.cs
- BitmapMetadataEnumerator.cs
- SoapSchemaMember.cs
- Guid.cs
- ComponentEditorForm.cs
- EnvelopedPkcs7.cs
- BufferedGraphics.cs
- PeerObject.cs
- LineGeometry.cs
- ITextView.cs
- Timer.cs
- EntityCodeGenerator.cs
- PassportAuthenticationEventArgs.cs
- GlobalItem.cs
- ContentHostHelper.cs
- CommonDialog.cs
- SecurityUtils.cs
- SQLInt64.cs
- InternalBase.cs
- PngBitmapEncoder.cs
- XmlWrappingReader.cs
- DeleteMemberBinder.cs
- AsyncPostBackErrorEventArgs.cs
- WebMessageEncoderFactory.cs
- LocalBuilder.cs
- assertwrapper.cs
- SortFieldComparer.cs
- ListViewItemMouseHoverEvent.cs
- SimpleBitVector32.cs
- ComponentResourceKey.cs
- ScriptingAuthenticationServiceSection.cs
- PeerPresenceInfo.cs
- ResourceDescriptionAttribute.cs
- DispatcherProcessingDisabled.cs
- RichTextBoxAutomationPeer.cs
- MatrixTransform3D.cs
- PropertyGridCommands.cs
- TypographyProperties.cs
- ByteRangeDownloader.cs
- TextTreeRootNode.cs
- LockCookie.cs
- ObjectPersistData.cs
- SmiRequestExecutor.cs
- DataColumnMappingCollection.cs
- IisTraceListener.cs
- XslVisitor.cs
- ViewKeyConstraint.cs
- DurableOperationContext.cs
- DeflateEmulationStream.cs
- Literal.cs
- CircleHotSpot.cs
- DateBoldEvent.cs
- ParameterCollection.cs
- XhtmlBasicLiteralTextAdapter.cs
- XslCompiledTransform.cs
- HintTextConverter.cs
- DrawingVisualDrawingContext.cs
- XmlSchemaValidationException.cs
- LineProperties.cs
- DispatcherTimer.cs
- Double.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- CoTaskMemHandle.cs
- ApplicationProxyInternal.cs
- SqlWorkflowPersistenceService.cs
- WebServicesInteroperability.cs