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
- GradientStop.cs
- FlowLayout.cs
- FileSystemWatcher.cs
- InternalReceiveMessage.cs
- HttpListenerContext.cs
- GenericEnumConverter.cs
- ConfigXmlElement.cs
- SchemaContext.cs
- SizeAnimationBase.cs
- IListConverters.cs
- ErrorHandlingReceiver.cs
- MissingSatelliteAssemblyException.cs
- CommonXSendMessage.cs
- Int64Animation.cs
- NoResizeHandleGlyph.cs
- DrawingAttributesDefaultValueFactory.cs
- BuildProvidersCompiler.cs
- errorpatternmatcher.cs
- DataGrid.cs
- EncodingTable.cs
- PngBitmapEncoder.cs
- WindowsFormsHelpers.cs
- ConfigPathUtility.cs
- HtmlTitle.cs
- DataSpaceManager.cs
- DocumentXmlWriter.cs
- XmlSchemaObject.cs
- LocalBuilder.cs
- HttpHeaderCollection.cs
- XmlSchemaValidationException.cs
- CodeMethodReturnStatement.cs
- ContractComponent.cs
- TypeConverterHelper.cs
- Brushes.cs
- RootNamespaceAttribute.cs
- PropertyRef.cs
- LinqExpressionNormalizer.cs
- DataGridBoolColumn.cs
- PropertyChangingEventArgs.cs
- XD.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SetterBase.cs
- TypeBuilderInstantiation.cs
- Base64Decoder.cs
- EdmEntityTypeAttribute.cs
- TypeUsageBuilder.cs
- DataListCommandEventArgs.cs
- FilteredXmlReader.cs
- IdnElement.cs
- DesignOnlyAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TrustManagerMoreInformation.cs
- XmlSchemaValidationException.cs
- BufferedOutputStream.cs
- ReliableChannelBinder.cs
- InlineCollection.cs
- ProxyGenerationError.cs
- Utils.cs
- SqlDataSourceStatusEventArgs.cs
- ScrollProviderWrapper.cs
- MemberHolder.cs
- MultiPartWriter.cs
- ResourceDefaultValueAttribute.cs
- safex509handles.cs
- NextPreviousPagerField.cs
- DbException.cs
- LogSwitch.cs
- SerializationEventsCache.cs
- ComponentChangedEvent.cs
- FieldTemplateUserControl.cs
- IxmlLineInfo.cs
- UInt16Converter.cs
- ToolStripDropDownItem.cs
- IMembershipProvider.cs
- SafeFileMappingHandle.cs
- XmlSchemaImporter.cs
- SiteMapHierarchicalDataSourceView.cs
- FontFamilyValueSerializer.cs
- ResourceExpressionBuilder.cs
- Page.cs
- HtmlControl.cs
- XmlParserContext.cs
- XmlNodeReader.cs
- DataGridViewComboBoxCell.cs
- TdsParser.cs
- CookielessHelper.cs
- DescendantOverDescendantQuery.cs
- DataGrid.cs
- Converter.cs
- TraceSection.cs
- SmiGettersStream.cs
- NumericPagerField.cs
- InputScopeAttribute.cs
- Camera.cs
- HorizontalAlignConverter.cs
- GlobalizationAssembly.cs
- MediaScriptCommandRoutedEventArgs.cs
- ObjectSet.cs
- TextProperties.cs
- BaseValidator.cs