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
- LocationUpdates.cs
- SchemaSetCompiler.cs
- DesignBindingEditor.cs
- SqlDependencyUtils.cs
- AutoResetEvent.cs
- DesignerSerializationManager.cs
- PolyQuadraticBezierSegment.cs
- EndGetFileNameFromUserRequest.cs
- PropertyNames.cs
- ClientConvert.cs
- WebService.cs
- ControlCachePolicy.cs
- AttachedPropertyBrowsableAttribute.cs
- DefaultObjectMappingItemCollection.cs
- Debug.cs
- TraversalRequest.cs
- XmlEncodedRawTextWriter.cs
- ManagementOperationWatcher.cs
- AvTrace.cs
- SqlFactory.cs
- ResourceLoader.cs
- Nullable.cs
- RelationshipSet.cs
- DataService.cs
- StyleSheetRefUrlEditor.cs
- FatalException.cs
- NonBatchDirectoryCompiler.cs
- TypedElement.cs
- ToolStripScrollButton.cs
- OdbcConnectionOpen.cs
- OleStrCAMarshaler.cs
- CopyEncoder.cs
- DeviceContext2.cs
- HelloOperation11AsyncResult.cs
- CompressEmulationStream.cs
- SafeCertificateContext.cs
- HttpListenerTimeoutManager.cs
- EventSetter.cs
- ResourceReferenceKeyNotFoundException.cs
- DataGridViewRowConverter.cs
- TemplateEditingService.cs
- ProcessProtocolHandler.cs
- EntityObject.cs
- UnmanagedMemoryStream.cs
- NavigatorOutput.cs
- MediaContext.cs
- CompilationUtil.cs
- MembershipPasswordException.cs
- MappableObjectManager.cs
- TextTreeTextElementNode.cs
- SmtpException.cs
- SchemaCollectionCompiler.cs
- ListenerAdapter.cs
- HtmlInputText.cs
- EditCommandColumn.cs
- cookiecollection.cs
- FileDialogCustomPlacesCollection.cs
- FacetDescriptionElement.cs
- AttachedPropertyMethodSelector.cs
- Viewport3DVisual.cs
- FrameworkElementFactoryMarkupObject.cs
- HelpExampleGenerator.cs
- StringComparer.cs
- HashAlgorithm.cs
- HybridObjectCache.cs
- ExceptionUtil.cs
- ToolStripPanelCell.cs
- ActiveDocumentEvent.cs
- CreationContext.cs
- MultiTouchSystemGestureLogic.cs
- XomlCompilerError.cs
- IWorkflowDebuggerService.cs
- ComponentConverter.cs
- BidPrivateBase.cs
- ParallelTimeline.cs
- MinMaxParagraphWidth.cs
- TransformGroup.cs
- XNodeNavigator.cs
- DelayLoadType.cs
- Propagator.ExtentPlaceholderCreator.cs
- ListControlBoundActionList.cs
- SerializeAbsoluteContext.cs
- Primitive.cs
- InternalCache.cs
- ButtonColumn.cs
- HtmlInputFile.cs
- xmlsaver.cs
- HtmlValidationSummaryAdapter.cs
- MarkupProperty.cs
- WindowsButton.cs
- CqlLexerHelpers.cs
- CustomMenuItemCollection.cs
- Site.cs
- PeerApplication.cs
- BoolLiteral.cs
- VariableElement.cs
- ConfigurationSectionGroup.cs
- CommandLineParser.cs
- Baml2006ReaderFrame.cs
- DynamicDataRoute.cs