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
- GetImportFileNameRequest.cs
- Domain.cs
- JavaScriptSerializer.cs
- TextRunCache.cs
- TextRangeBase.cs
- InvalidEnumArgumentException.cs
- ErasingStroke.cs
- DataTrigger.cs
- GridViewAutomationPeer.cs
- DBNull.cs
- Comparer.cs
- SessionStateItemCollection.cs
- LayoutEvent.cs
- DecimalKeyFrameCollection.cs
- precedingquery.cs
- Bold.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- XmlEncodedRawTextWriter.cs
- InitializerFacet.cs
- SQLRoleProvider.cs
- PathStreamGeometryContext.cs
- FacetChecker.cs
- IndentedTextWriter.cs
- DropDownButton.cs
- EventLogEntryCollection.cs
- XPathDocument.cs
- Graphics.cs
- ByteStreamMessageEncoderFactory.cs
- PageParser.cs
- DataObjectCopyingEventArgs.cs
- SynchronizationContext.cs
- AppDomainUnloadedException.cs
- RealizationDrawingContextWalker.cs
- IndependentAnimationStorage.cs
- ErrorStyle.cs
- WinInetCache.cs
- SQLResource.cs
- FamilyMap.cs
- Clock.cs
- RegexMatch.cs
- FromReply.cs
- TextServicesContext.cs
- UriWriter.cs
- AncillaryOps.cs
- ListItemsPage.cs
- FreezableOperations.cs
- WindowsFormsHost.cs
- TransformCryptoHandle.cs
- EdgeModeValidation.cs
- ElementFactory.cs
- DataRelationCollection.cs
- NavigationCommands.cs
- DataColumnMapping.cs
- StorageMappingItemLoader.cs
- LineServices.cs
- sqlstateclientmanager.cs
- CalendarTable.cs
- LocatorBase.cs
- TypeExtensionSerializer.cs
- SBCSCodePageEncoding.cs
- CharacterBufferReference.cs
- StringAttributeCollection.cs
- SerializationSectionGroup.cs
- XmlSortKey.cs
- ProfileSettings.cs
- Substitution.cs
- PassportAuthentication.cs
- ScrollItemProviderWrapper.cs
- ProcessModuleCollection.cs
- WindowsListViewSubItem.cs
- thaishape.cs
- ProcessHost.cs
- CSharpCodeProvider.cs
- SafePEFileHandle.cs
- Models.cs
- GlobalizationSection.cs
- ComponentEditorForm.cs
- figurelength.cs
- TextPatternIdentifiers.cs
- CodeDomDecompiler.cs
- MarkerProperties.cs
- GeometryHitTestResult.cs
- BatchParser.cs
- AttachedPropertyMethodSelector.cs
- CrossAppDomainChannel.cs
- InvokeProviderWrapper.cs
- TableDetailsRow.cs
- BuildProvider.cs
- PageCodeDomTreeGenerator.cs
- PeerNameRegistration.cs
- DebugTracing.cs
- NativeMethods.cs
- DataGridViewCellParsingEventArgs.cs
- OleDbErrorCollection.cs
- UIElement.cs
- LongValidator.cs
- FileDialog.cs
- StackBuilderSink.cs
- ResourcePart.cs
- SchemaNamespaceManager.cs