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
- EntityDataSourceDataSelectionPanel.cs
- AsymmetricSignatureDeformatter.cs
- WebHostUnsafeNativeMethods.cs
- TraceSwitch.cs
- AstNode.cs
- BitmapImage.cs
- OdbcConnection.cs
- Point.cs
- OdbcError.cs
- ApplicationInfo.cs
- SpellerInterop.cs
- QilList.cs
- ViewDesigner.cs
- MemberPathMap.cs
- WindowsSecurityTokenAuthenticator.cs
- PointCollectionConverter.cs
- InputProcessorProfiles.cs
- X509Chain.cs
- webeventbuffer.cs
- ArgIterator.cs
- XmlNodeWriter.cs
- SiteMap.cs
- DbInsertCommandTree.cs
- Win32.cs
- ImageSourceValueSerializer.cs
- ExtensionFile.cs
- SiteMap.cs
- COM2EnumConverter.cs
- CodeExpressionStatement.cs
- InstanceOwner.cs
- WindowsTooltip.cs
- FormatPage.cs
- WebPartsPersonalizationAuthorization.cs
- DataGridCell.cs
- PeerHopCountAttribute.cs
- SHA1Managed.cs
- Rotation3DKeyFrameCollection.cs
- WebPartExportVerb.cs
- StringUtil.cs
- CurrencyWrapper.cs
- Compiler.cs
- RecommendedAsConfigurableAttribute.cs
- RsaKeyGen.cs
- CriticalExceptions.cs
- StickyNoteAnnotations.cs
- SqlProfileProvider.cs
- UseAttributeSetsAction.cs
- HtmlAnchor.cs
- CodeLinePragma.cs
- DataServiceRequestException.cs
- VerbConverter.cs
- Rotation3DAnimationBase.cs
- DataGridViewCellEventArgs.cs
- BinaryMessageEncodingBindingElement.cs
- AudioBase.cs
- AutomationPropertyInfo.cs
- IncrementalReadDecoders.cs
- EntityRecordInfo.cs
- Listen.cs
- BamlStream.cs
- ImageAutomationPeer.cs
- CompoundFileStorageReference.cs
- CodePageEncoding.cs
- CLRBindingWorker.cs
- Point4DConverter.cs
- DbParameterCollectionHelper.cs
- DataControlFieldCell.cs
- PixelShader.cs
- TextSelectionProcessor.cs
- EventRouteFactory.cs
- SHA1CryptoServiceProvider.cs
- DataGridSortingEventArgs.cs
- ExpanderAutomationPeer.cs
- SiteMapDataSource.cs
- Int64Converter.cs
- UnmanagedMemoryStream.cs
- XPathPatternBuilder.cs
- ErrorCodes.cs
- DecimalConstantAttribute.cs
- DataPager.cs
- PropertyDescriptor.cs
- TaskResultSetter.cs
- DelegateTypeInfo.cs
- ContentControl.cs
- _SslState.cs
- __TransparentProxy.cs
- CheckPair.cs
- XmlEncodedRawTextWriter.cs
- BulletChrome.cs
- TreeNodeMouseHoverEvent.cs
- ClientConfigurationHost.cs
- WindowsHyperlink.cs
- IPGlobalProperties.cs
- QueryResults.cs
- prompt.cs
- DependencyPropertyKey.cs
- PositiveTimeSpanValidatorAttribute.cs
- WCFModelStrings.Designer.cs
- SiteMapDataSourceView.cs
- SqlTriggerContext.cs