Code:
/ FX-1434 / FX-1434 / 1.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
- ManualResetEvent.cs
- ImageListStreamer.cs
- PrintDialog.cs
- MouseOverProperty.cs
- CustomSignedXml.cs
- XmlSchemaImport.cs
- SqlDataSourceCommandEventArgs.cs
- TextWriter.cs
- FontEmbeddingManager.cs
- ReferentialConstraintRoleElement.cs
- AnnotationObservableCollection.cs
- FormViewInsertedEventArgs.cs
- AutomationElement.cs
- PaintValueEventArgs.cs
- InputBinding.cs
- WebPartConnectionsCancelEventArgs.cs
- EventLogTraceListener.cs
- HwndPanningFeedback.cs
- DockEditor.cs
- PasswordDeriveBytes.cs
- MenuItem.cs
- DataGridViewLinkColumn.cs
- Permission.cs
- AnnotationComponentChooser.cs
- BitmapEffectGroup.cs
- HostedNamedPipeTransportManager.cs
- SystemWebCachingSectionGroup.cs
- InvalidPropValue.cs
- XmlElementAttributes.cs
- ListViewItem.cs
- SqlBuffer.cs
- MeshGeometry3D.cs
- XmlSerializerFactory.cs
- ToolStripSplitButton.cs
- StandardCommands.cs
- JsonMessageEncoderFactory.cs
- MimeFormReflector.cs
- configsystem.cs
- SecureEnvironment.cs
- PerformanceCounterPermission.cs
- RtfNavigator.cs
- HotSpotCollection.cs
- DataServiceHostWrapper.cs
- LookupNode.cs
- OdbcInfoMessageEvent.cs
- TextRange.cs
- ReferencedAssembly.cs
- SafeMemoryMappedViewHandle.cs
- IResourceProvider.cs
- DefaultValueAttribute.cs
- Pair.cs
- Filter.cs
- WindowsToolbar.cs
- Overlapped.cs
- ListViewHitTestInfo.cs
- PrivateFontCollection.cs
- TypeDelegator.cs
- ConfigurationLocationCollection.cs
- ObjectNavigationPropertyMapping.cs
- OpCopier.cs
- OperationCanceledException.cs
- ProtocolsConfigurationEntry.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Double.cs
- TreeNodeStyleCollection.cs
- SplitContainer.cs
- ChannelPoolSettings.cs
- TypeNameParser.cs
- TextViewSelectionProcessor.cs
- ZeroOpNode.cs
- CoTaskMemHandle.cs
- UserNameSecurityTokenAuthenticator.cs
- WebPartsPersonalization.cs
- PersistChildrenAttribute.cs
- typedescriptorpermissionattribute.cs
- EmbossBitmapEffect.cs
- DoubleLinkList.cs
- NamedObject.cs
- VBCodeProvider.cs
- X509ThumbprintKeyIdentifierClause.cs
- SeekableReadStream.cs
- Quaternion.cs
- HttpDictionary.cs
- EllipseGeometry.cs
- FormViewInsertEventArgs.cs
- SoapAttributeOverrides.cs
- FormViewRow.cs
- SerializationTrace.cs
- SiteMapDataSource.cs
- HttpResponseHeader.cs
- DataServiceRequestException.cs
- ProcessDesigner.cs
- PropertyNames.cs
- WebUtil.cs
- GridViewColumn.cs
- BindingMAnagerBase.cs
- SequenceNumber.cs
- DataGridViewBand.cs
- BrowserCapabilitiesFactoryBase.cs
- invalidudtexception.cs