Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / RuntimeCompatibilityAttribute.cs / 1 / RuntimeCompatibilityAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// /*============================================================================== ** ** Class: RuntimeCompatibilityAttribute ** ** ** Purpose: Mark up the program to indicate various legacy or new opt-in behaviors. ** ** =============================================================================*/ namespace System.Runtime.CompilerServices { using System; [Serializable, AttributeUsage(AttributeTargets.Assembly, Inherited=false, AllowMultiple=false)] public sealed class RuntimeCompatibilityAttribute : Attribute { // fields private bool m_wrapNonExceptionThrows; // constructors public RuntimeCompatibilityAttribute() { // legacy behavior is the default, and m_wrapNonExceptionThrows is implicitly // false thanks to the CLR's guarantee of zeroed memory. } // properties // If a non-CLSCompliant exception (i.e. one that doesn't derive from System.Exception) is // thrown, should it be wrapped up in a System.Runtime.CompilerServices.RuntimeWrappedException // instance when presented to catch handlers? public bool WrapNonExceptionThrows { get { return m_wrapNonExceptionThrows; } set { m_wrapNonExceptionThrows = value; } } } } // 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
- FormattedTextSymbols.cs
- BrowserTree.cs
- XmlCustomFormatter.cs
- TextClipboardData.cs
- Reference.cs
- SqlClientWrapperSmiStreamChars.cs
- PersonalizableTypeEntry.cs
- StringBlob.cs
- HtmlLink.cs
- NavigationPropertyAccessor.cs
- StyleBamlTreeBuilder.cs
- BinaryMethodMessage.cs
- DecimalFormatter.cs
- SqlCommandSet.cs
- SemanticKeyElement.cs
- StyleHelper.cs
- EtwTrackingBehavior.cs
- LinearQuaternionKeyFrame.cs
- Rules.cs
- EventProxy.cs
- FormatException.cs
- SafeNativeMemoryHandle.cs
- ISFClipboardData.cs
- ExpressionContext.cs
- LiteralTextContainerControlBuilder.cs
- SizeAnimationUsingKeyFrames.cs
- ConsumerConnectionPoint.cs
- HtmlInputHidden.cs
- BinaryObjectInfo.cs
- HttpDebugHandler.cs
- FlowLayout.cs
- GridViewSelectEventArgs.cs
- InvocationExpression.cs
- DBNull.cs
- DirectionalLight.cs
- XmlQualifiedName.cs
- WebPageTraceListener.cs
- recordstatescratchpad.cs
- AnnotationHelper.cs
- TextEditorCopyPaste.cs
- Attribute.cs
- TreeNodeBindingCollection.cs
- securestring.cs
- _AutoWebProxyScriptWrapper.cs
- XmlDataSourceNodeDescriptor.cs
- ZipIOFileItemStream.cs
- BitmapDownload.cs
- CaseInsensitiveComparer.cs
- PrintDialog.cs
- LocalizationComments.cs
- MessageAction.cs
- FragmentQueryKB.cs
- ListViewInsertionMark.cs
- WebPartConnectionCollection.cs
- DoubleAnimationBase.cs
- CodeTypeMemberCollection.cs
- ColumnResizeAdorner.cs
- SectionXmlInfo.cs
- XPathNodeList.cs
- UseLicense.cs
- DataGridItemCollection.cs
- XmlSchemaComplexContent.cs
- ErrorFormatter.cs
- SizeValueSerializer.cs
- SslStream.cs
- AspNetRouteServiceHttpHandler.cs
- ContentType.cs
- XmlSchemaSequence.cs
- QuaternionRotation3D.cs
- IconConverter.cs
- MergePropertyDescriptor.cs
- DbProviderFactories.cs
- SessionPageStateSection.cs
- ISessionStateStore.cs
- ParameterModifier.cs
- CompilerGlobalScopeAttribute.cs
- SortQuery.cs
- TriggerBase.cs
- WS2007HttpBinding.cs
- AuthenticationModulesSection.cs
- WebPartsPersonalizationAuthorization.cs
- HtmlShim.cs
- ProcessModuleCollection.cs
- EUCJPEncoding.cs
- PrincipalPermission.cs
- _emptywebproxy.cs
- WebBrowserContainer.cs
- SystemInformation.cs
- InputBinder.cs
- Point3DKeyFrameCollection.cs
- ResourceContainer.cs
- FixedLineResult.cs
- TreeNodeEventArgs.cs
- _AuthenticationState.cs
- ConnectionConsumerAttribute.cs
- BasicExpandProvider.cs
- DefaultValueConverter.cs
- DoubleStorage.cs
- BulletedList.cs
- DispatcherHookEventArgs.cs