Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 1 / 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 } /* NGenAttribute is not supported in Whidbey [Serializable, AttributeUsage(AttributeTargets.Assembly)] public sealed class NGenAttribute : Attribute { private NGenHint hint; public NGenAttribute ( NGenHint hintArgument ) { hint = hintArgument; } public NGenHint NGenHint { get { return hint; } } } */ [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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextBreakpoint.cs
- Int64.cs
- ToolStripAdornerWindowService.cs
- Suspend.cs
- Propagator.JoinPropagator.cs
- CustomErrorsSection.cs
- InvalidPrinterException.cs
- XmlQueryType.cs
- ObjectStateFormatter.cs
- WindowsListViewItemStartMenu.cs
- CompModHelpers.cs
- Atom10FormatterFactory.cs
- ellipse.cs
- FixedPosition.cs
- IImplicitResourceProvider.cs
- MarshalByValueComponent.cs
- LogExtent.cs
- QilVisitor.cs
- HtmlTextArea.cs
- ReadOnlyDataSourceView.cs
- CellTreeNode.cs
- SiteMapNode.cs
- SqlDataSourceStatusEventArgs.cs
- HeaderLabel.cs
- TraceSection.cs
- ImmutableObjectAttribute.cs
- GlobalProxySelection.cs
- AvTraceDetails.cs
- SignerInfo.cs
- PerformanceCounter.cs
- XmlSerializerFactory.cs
- BrowserCapabilitiesCompiler.cs
- WebPartMovingEventArgs.cs
- Int32Rect.cs
- FileReservationCollection.cs
- NavigationPropertySingletonExpression.cs
- AuthorizationSection.cs
- ThreadAttributes.cs
- CheckBoxField.cs
- XPathNodeHelper.cs
- Border.cs
- WriteTimeStream.cs
- WCFBuildProvider.cs
- MonikerHelper.cs
- TreeWalkHelper.cs
- TaiwanLunisolarCalendar.cs
- ReadWriteObjectLock.cs
- IOThreadScheduler.cs
- CompressedStack.cs
- CompositeTypefaceMetrics.cs
- BitmapSourceSafeMILHandle.cs
- ContainerFilterService.cs
- RuntimeConfigurationRecord.cs
- BaseDataListComponentEditor.cs
- AddInServer.cs
- SecurityTokenSpecification.cs
- CodePageEncoding.cs
- Thickness.cs
- PasswordTextContainer.cs
- EFTableProvider.cs
- DomNameTable.cs
- DocumentOutline.cs
- XmlElementAttributes.cs
- MsmqAuthenticationMode.cs
- VerificationException.cs
- Stylesheet.cs
- IProvider.cs
- BitmapEffectInput.cs
- DataGridCell.cs
- DecoratedNameAttribute.cs
- LongCountAggregationOperator.cs
- HashAlgorithm.cs
- Page.cs
- CultureInfo.cs
- AttachedAnnotation.cs
- Accessible.cs
- DescendentsWalkerBase.cs
- XmlCDATASection.cs
- Point3DCollectionValueSerializer.cs
- brushes.cs
- ProgressChangedEventArgs.cs
- RtfControlWordInfo.cs
- Certificate.cs
- SafeNativeMethods.cs
- WindowsRichEdit.cs
- ProgressBarAutomationPeer.cs
- StaticExtension.cs
- BoundingRectTracker.cs
- SafeLocalMemHandle.cs
- WpfGeneratedKnownTypes.cs
- AttachedPropertyInfo.cs
- XmlTextReaderImplHelpers.cs
- SafeCryptoHandles.cs
- GridViewRowPresenterBase.cs
- Executor.cs
- XmlComplianceUtil.cs
- GridViewCancelEditEventArgs.cs
- IODescriptionAttribute.cs
- TypeDescriptionProvider.cs
- Logging.cs