Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / AssemblySettingAttributes.cs / 2 / 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 } [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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyValueChangedEvent.cs
- PathStreamGeometryContext.cs
- InheritanceRules.cs
- HwndMouseInputProvider.cs
- HandleCollector.cs
- OrderToken.cs
- RadioButtonPopupAdapter.cs
- LookupNode.cs
- PartialList.cs
- Stroke2.cs
- SecurityException.cs
- AssemblyName.cs
- SystemIcmpV4Statistics.cs
- EdmMember.cs
- BezierSegment.cs
- ThicknessAnimationBase.cs
- PrintPreviewControl.cs
- CachedCompositeFamily.cs
- TcpClientSocketManager.cs
- ThumbButtonInfo.cs
- CreateUserErrorEventArgs.cs
- TimestampInformation.cs
- Token.cs
- SqlOuterApplyReducer.cs
- PassportPrincipal.cs
- TraceLevelStore.cs
- Point.cs
- ReachUIElementCollectionSerializerAsync.cs
- RegistryKey.cs
- XPathExpr.cs
- UnsafeNativeMethods.cs
- PageAsyncTask.cs
- TemplatedControlDesigner.cs
- ConstrainedGroup.cs
- TextDecoration.cs
- SpeechAudioFormatInfo.cs
- MetadataItem_Static.cs
- SqlTriggerContext.cs
- FixUp.cs
- Roles.cs
- ReaderOutput.cs
- XamlSerializerUtil.cs
- SqlBooleanMismatchVisitor.cs
- XmlTextAttribute.cs
- ChunkedMemoryStream.cs
- PrincipalPermission.cs
- AppDomainProtocolHandler.cs
- CommentAction.cs
- WorkItem.cs
- AnnotationResourceChangedEventArgs.cs
- CharEnumerator.cs
- ScriptControl.cs
- RepeatBehavior.cs
- XslVisitor.cs
- BitmapEffectRenderDataResource.cs
- TraceXPathNavigator.cs
- XDRSchema.cs
- TreeNodeMouseHoverEvent.cs
- StylusOverProperty.cs
- TrackingServices.cs
- OdbcUtils.cs
- FileLogRecord.cs
- CharStorage.cs
- StringAnimationUsingKeyFrames.cs
- CodeConstructor.cs
- ResourceKey.cs
- Fonts.cs
- ThicknessAnimation.cs
- SystemKeyConverter.cs
- WsatConfiguration.cs
- WorkflowViewManager.cs
- Vector3DAnimation.cs
- UIElementParaClient.cs
- AccessViolationException.cs
- SerializationUtility.cs
- XamlSerializationHelper.cs
- ActiveXHost.cs
- PenLineJoinValidation.cs
- ThreadNeutralSemaphore.cs
- RegexTree.cs
- FormsAuthentication.cs
- SessionIDManager.cs
- RsaSecurityToken.cs
- TdsParserSessionPool.cs
- SqlDelegatedTransaction.cs
- GrammarBuilderWildcard.cs
- ParallelForEach.cs
- DataGridViewTopLeftHeaderCell.cs
- SchemaTypeEmitter.cs
- XmlSchemaGroupRef.cs
- BrushConverter.cs
- ChildDocumentBlock.cs
- DoubleCollectionValueSerializer.cs
- ProviderSettingsCollection.cs
- TypeForwardedToAttribute.cs
- Lease.cs
- PrintPreviewControl.cs
- ValidationError.cs
- SamlAuthenticationStatement.cs
- ReadonlyMessageFilter.cs