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
- ToolStripItemEventArgs.cs
- InvalidPropValue.cs
- Preprocessor.cs
- _NTAuthentication.cs
- PopupRoot.cs
- SqlBulkCopyColumnMapping.cs
- DataSourceView.cs
- CurrencyWrapper.cs
- ObjectStateManager.cs
- CorrelationManager.cs
- Subtree.cs
- WebServiceMethodData.cs
- DetailsView.cs
- ParagraphResult.cs
- SplayTreeNode.cs
- TraceInternal.cs
- ToolBarTray.cs
- cryptoapiTransform.cs
- SignatureConfirmations.cs
- BamlTreeNode.cs
- SqlCommandBuilder.cs
- Internal.cs
- storepermission.cs
- TreeNodeBindingCollection.cs
- ComIntegrationManifestGenerator.cs
- DateTimeParse.cs
- MergeFailedEvent.cs
- ProcessThread.cs
- QueryInterceptorAttribute.cs
- XMLUtil.cs
- ResourceDisplayNameAttribute.cs
- DynamicValueConverter.cs
- ReadOnlyNameValueCollection.cs
- D3DImage.cs
- CodeCatchClause.cs
- _NestedSingleAsyncResult.cs
- ApplicationServiceHelper.cs
- TemplateBindingExpressionConverter.cs
- AutoFocusStyle.xaml.cs
- LineSegment.cs
- ErrorLog.cs
- BeginStoryboard.cs
- CodeMethodInvokeExpression.cs
- TextAdaptor.cs
- InkCanvasInnerCanvas.cs
- CommentEmitter.cs
- MetadataPropertyvalue.cs
- StyleCollection.cs
- ManagementExtension.cs
- PackageDigitalSignature.cs
- BufferAllocator.cs
- SettingsPropertyValueCollection.cs
- PersonalizationProviderCollection.cs
- StrokeNodeEnumerator.cs
- ThreadSafeList.cs
- NotFiniteNumberException.cs
- CellParagraph.cs
- DetailsViewPageEventArgs.cs
- RedistVersionInfo.cs
- WebPartCloseVerb.cs
- LinqDataSourceHelper.cs
- PropertyBuilder.cs
- MimeReflector.cs
- PointCollectionValueSerializer.cs
- ObjectResult.cs
- BuilderPropertyEntry.cs
- TypeConverterHelper.cs
- FontWeight.cs
- DesignerEditorPartChrome.cs
- ExclusiveTcpListener.cs
- DBCommandBuilder.cs
- BaseDataList.cs
- COM2Enum.cs
- StaticExtensionConverter.cs
- XmlStringTable.cs
- BamlTreeMap.cs
- DictionaryChange.cs
- AspNetRouteServiceHttpHandler.cs
- SHA1CryptoServiceProvider.cs
- CommandExpr.cs
- SpeakProgressEventArgs.cs
- TypeInitializationException.cs
- LoginDesigner.cs
- NonVisualControlAttribute.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- TextPointerBase.cs
- LineBreakRecord.cs
- DisposableCollectionWrapper.cs
- GeometryDrawing.cs
- ContractInstanceProvider.cs
- ApplicationDirectory.cs
- EndEvent.cs
- ComplusEndpointConfigContainer.cs
- Message.cs
- ExtendLockAsyncResult.cs
- Normalization.cs
- TemplateXamlParser.cs
- FigureParagraph.cs
- AnnotationObservableCollection.cs
- RtfToXamlReader.cs