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
- SmiGettersStream.cs
- QilTypeChecker.cs
- ByteStreamMessage.cs
- PersonalizablePropertyEntry.cs
- BooleanConverter.cs
- ConfigurationSection.cs
- SrgsDocument.cs
- Parsers.cs
- XmlExtensionFunction.cs
- EraserBehavior.cs
- SystemWebSectionGroup.cs
- Point4DValueSerializer.cs
- PrinterResolution.cs
- FileDialog.cs
- RegexRunnerFactory.cs
- ModifierKeysConverter.cs
- DataService.cs
- SemanticResultValue.cs
- ExpressionBinding.cs
- DataGridViewAdvancedBorderStyle.cs
- DataPager.cs
- ClientTargetSection.cs
- InputBinding.cs
- FeatureAttribute.cs
- InvokeFunc.cs
- RuntimeVariableList.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlExpressionDumper.cs
- ZipIOCentralDirectoryBlock.cs
- OrderingExpression.cs
- FormsAuthenticationCredentials.cs
- SharedPersonalizationStateInfo.cs
- BypassElement.cs
- AssemblyHelper.cs
- RTLAwareMessageBox.cs
- HttpDictionary.cs
- GifBitmapEncoder.cs
- FilterException.cs
- XmlIncludeAttribute.cs
- ProfileSection.cs
- TreeNodeSelectionProcessor.cs
- LogStore.cs
- DocumentViewerHelper.cs
- ReadingWritingEntityEventArgs.cs
- ApplyTemplatesAction.cs
- DbDataAdapter.cs
- DataGridColumnCollection.cs
- DrawingImage.cs
- PackageRelationshipSelector.cs
- ManagementBaseObject.cs
- SimpleApplicationHost.cs
- ScopedMessagePartSpecification.cs
- ActivityTrace.cs
- ConversionContext.cs
- ExtendedPropertyCollection.cs
- isolationinterop.cs
- EmissiveMaterial.cs
- BitmapImage.cs
- FigureHelper.cs
- CheckBoxField.cs
- EventSource.cs
- ValidationManager.cs
- RegularExpressionValidator.cs
- AssemblyInfo.cs
- Panel.cs
- TextRangeAdaptor.cs
- ComponentResourceKey.cs
- XPathScanner.cs
- CallSiteBinder.cs
- JsonSerializer.cs
- LiteralTextParser.cs
- MultiBindingExpression.cs
- SchemaSetCompiler.cs
- XmlUtil.cs
- SafeNativeMethodsMilCoreApi.cs
- DataServiceContext.cs
- PasswordRecoveryAutoFormat.cs
- CodeRegionDirective.cs
- _NegoState.cs
- hresults.cs
- LazyTextWriterCreator.cs
- SortDescriptionCollection.cs
- View.cs
- ExtensionMethods.cs
- AnimationClock.cs
- SoapRpcServiceAttribute.cs
- _ShellExpression.cs
- PropertyCondition.cs
- OrderPreservingSpoolingTask.cs
- ResponseStream.cs
- Substitution.cs
- SubtreeProcessor.cs
- WinFormsComponentEditor.cs
- IntSecurity.cs
- XmlCharType.cs
- Preprocessor.cs
- WorkflowOperationErrorHandler.cs
- PreservationFileReader.cs
- HtmlUtf8RawTextWriter.cs
- IPipelineRuntime.cs