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
- BinHexEncoder.cs
- XNodeValidator.cs
- Viewport3DAutomationPeer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- AmbientLight.cs
- ObjectContext.cs
- FormViewDeletedEventArgs.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- NetworkCredential.cs
- XNameTypeConverter.cs
- TemplateXamlTreeBuilder.cs
- CompilerInfo.cs
- PackageRelationship.cs
- VariableQuery.cs
- Quaternion.cs
- Funcletizer.cs
- CacheDependency.cs
- FilteredDataSetHelper.cs
- AliasedSlot.cs
- ListManagerBindingsCollection.cs
- XmlnsCache.cs
- StorageSetMapping.cs
- BindingExpressionBase.cs
- SmtpMail.cs
- StandardCommands.cs
- IntPtr.cs
- ResizeGrip.cs
- FigureParagraph.cs
- ByteStack.cs
- TextOptions.cs
- WorkflowDesignerColors.cs
- EmbeddedObject.cs
- DrawListViewItemEventArgs.cs
- OleDbFactory.cs
- ClientData.cs
- GB18030Encoding.cs
- NativeMethods.cs
- Rotation3D.cs
- TransportElement.cs
- SubstitutionList.cs
- login.cs
- TabControlCancelEvent.cs
- PropertyContainer.cs
- DrawingVisual.cs
- ViewKeyConstraint.cs
- FormatVersion.cs
- IdentityNotMappedException.cs
- DBCSCodePageEncoding.cs
- Propagator.JoinPropagator.cs
- WindowsPen.cs
- RequiredFieldValidator.cs
- CrossContextChannel.cs
- Unit.cs
- DatagridviewDisplayedBandsData.cs
- EmptyEnumerable.cs
- PartialTrustHelpers.cs
- StorageComplexTypeMapping.cs
- HitTestWithGeometryDrawingContextWalker.cs
- _Win32.cs
- BaseDataList.cs
- ExpressionEvaluator.cs
- HtmlGenericControl.cs
- GeneralTransform2DTo3D.cs
- StdRegProviderWrapper.cs
- DetailsViewUpdateEventArgs.cs
- XPathParser.cs
- SimpleWebHandlerParser.cs
- WpfGeneratedKnownTypes.cs
- ConfigXmlAttribute.cs
- SHA1Cng.cs
- DependencyPropertyKey.cs
- ReachPageContentCollectionSerializerAsync.cs
- ToolStripContentPanel.cs
- UriSectionData.cs
- EdmScalarPropertyAttribute.cs
- SqlPersonalizationProvider.cs
- Menu.cs
- RtfToXamlReader.cs
- Section.cs
- CorruptingExceptionCommon.cs
- DefaultMergeHelper.cs
- ValidationErrorCollection.cs
- BufferedOutputStream.cs
- SqlDataSourceConfigureSortForm.cs
- OuterGlowBitmapEffect.cs
- versioninfo.cs
- LogicalChannel.cs
- CodeDirectoryCompiler.cs
- WebPartDeleteVerb.cs
- PopupRoot.cs
- BindingMemberInfo.cs
- Metadata.cs
- StringExpressionSet.cs
- BasePattern.cs
- ReadingWritingEntityEventArgs.cs
- WrappedReader.cs
- CompoundFileStorageReference.cs
- XmlSchemaSimpleContentRestriction.cs
- TransformCollection.cs
- PTUtility.cs