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
- LogFlushAsyncResult.cs
- SeekStoryboard.cs
- invalidudtexception.cs
- RegexReplacement.cs
- CommandConverter.cs
- OleDbDataReader.cs
- EventsTab.cs
- BitmapDecoder.cs
- GroupByExpressionRewriter.cs
- DataContext.cs
- WebColorConverter.cs
- ClickablePoint.cs
- SqlWebEventProvider.cs
- MessageDescription.cs
- wgx_sdk_version.cs
- TreeViewAutomationPeer.cs
- UInt64Storage.cs
- Translator.cs
- HtmlTernaryTree.cs
- IisTraceListener.cs
- _TimerThread.cs
- SignatureDescription.cs
- IdentifierCreationService.cs
- GraphicsPath.cs
- Geometry3D.cs
- SyndicationItemFormatter.cs
- ApplicationFileParser.cs
- DesignerActionVerbItem.cs
- ArrayElementGridEntry.cs
- XAMLParseException.cs
- Point4DValueSerializer.cs
- SemanticResolver.cs
- PolicyFactory.cs
- __ConsoleStream.cs
- StylusPointPropertyInfo.cs
- TableStyle.cs
- AppSettingsReader.cs
- HttpListenerPrefixCollection.cs
- ProcessRequestArgs.cs
- MediaElement.cs
- LabelEditEvent.cs
- UIElement3D.cs
- StoreItemCollection.Loader.cs
- ColorPalette.cs
- DetailsViewCommandEventArgs.cs
- TextServicesContext.cs
- ClickablePoint.cs
- ProfessionalColors.cs
- SizeLimitedCache.cs
- RelatedEnd.cs
- EntitySetBase.cs
- SizeConverter.cs
- CreateUserErrorEventArgs.cs
- AssertFilter.cs
- DataGridViewTopLeftHeaderCell.cs
- embossbitmapeffect.cs
- ApplicationFileParser.cs
- SqlConnectionFactory.cs
- EdgeModeValidation.cs
- TableColumn.cs
- XPathNodePointer.cs
- FusionWrap.cs
- StreamReader.cs
- ConstraintStruct.cs
- SQLStringStorage.cs
- FrameworkElement.cs
- TextEditorSelection.cs
- MethodExpression.cs
- SpellerError.cs
- RelationalExpressions.cs
- oledbconnectionstring.cs
- DataGridCommandEventArgs.cs
- RsaSecurityTokenAuthenticator.cs
- oledbconnectionstring.cs
- AuthorizationPolicyTypeElement.cs
- SliderAutomationPeer.cs
- PointAnimationUsingKeyFrames.cs
- DrawingContextWalker.cs
- RoleManagerSection.cs
- MarkupExtensionParser.cs
- DetailsViewDeleteEventArgs.cs
- WindowsGrip.cs
- WorkflowService.cs
- propertyentry.cs
- IDQuery.cs
- AtomServiceDocumentSerializer.cs
- CommandField.cs
- SequentialOutput.cs
- XNodeValidator.cs
- HebrewNumber.cs
- InternalCache.cs
- DSACryptoServiceProvider.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- MatrixStack.cs
- OracleNumber.cs
- ServiceControllerDesigner.cs
- ControlPersister.cs
- DesignTimeDataBinding.cs
- HttpValueCollection.cs
- JsonReader.cs