Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Diagnostics / CodeAnalysis / SuppressMessageAttribute.cs / 1 / SuppressMessageAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SuppressMessageAttribute ** ** ** An attribute to suppress violation messages/warnings ** by static code analysis tools. ** ** ===========================================================*/ using System; namespace System.Diagnostics.CodeAnalysis { [AttributeUsage( AttributeTargets.All, Inherited = false, AllowMultiple = true ) ] [Conditional("CODE_ANALYSIS")] public sealed class SuppressMessageAttribute : Attribute { private string category; private string justification; private string checkId; private string scope; private string target; private string messageId; public SuppressMessageAttribute(string category, string checkId) { this.category = category; this.checkId = checkId; } public string Category { get { return category; } } public string CheckId { get { return checkId; } } public string Scope { get { return scope; } set { scope = value; } } public string Target { get { return target; } set { target = value; } } public string MessageId { get { return messageId; } set { messageId = value; } } public string Justification { get { return justification; } set { justification = 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
- TreeViewEvent.cs
- NegotiateStream.cs
- FixedPosition.cs
- Size3D.cs
- SmiContext.cs
- RenderDataDrawingContext.cs
- SynchronizingStream.cs
- TheQuery.cs
- ClonableStack.cs
- PersonalizationStateInfoCollection.cs
- AnimatedTypeHelpers.cs
- FlowDocumentScrollViewer.cs
- UshortList2.cs
- BitVector32.cs
- SoapIncludeAttribute.cs
- ValueType.cs
- BindingCompleteEventArgs.cs
- PackageProperties.cs
- sortedlist.cs
- ProvideValueServiceProvider.cs
- QueryCacheEntry.cs
- ServiceBusyException.cs
- DiscoveryOperationContext.cs
- SqlReferenceCollection.cs
- SafeRegistryHandle.cs
- BulletedListEventArgs.cs
- DesignerActionKeyboardBehavior.cs
- ToolStripContainer.cs
- TextTreePropertyUndoUnit.cs
- HtmlLinkAdapter.cs
- RequestNavigateEventArgs.cs
- HtmlFormWrapper.cs
- SqlCommand.cs
- BaseCodePageEncoding.cs
- AsyncPostBackErrorEventArgs.cs
- IntellisenseTextBox.cs
- OleCmdHelper.cs
- ImageFormat.cs
- StylusPoint.cs
- DefinitionBase.cs
- ArgumentOutOfRangeException.cs
- GridViewSortEventArgs.cs
- PriorityItem.cs
- ToolStripPanel.cs
- SuspendDesigner.cs
- SubstitutionList.cs
- CompiledQuery.cs
- XsltException.cs
- _Win32.cs
- FormViewUpdateEventArgs.cs
- CriticalFinalizerObject.cs
- ObjectListCommandsPage.cs
- XmlSchemaAny.cs
- QilUnary.cs
- DetailsViewPageEventArgs.cs
- SHA512Managed.cs
- InlinedAggregationOperator.cs
- TemplateDefinition.cs
- ListSourceHelper.cs
- DotExpr.cs
- RuntimeEnvironment.cs
- Mutex.cs
- WindowsGraphics2.cs
- SiteMapSection.cs
- TemplateComponentConnector.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ObjectDataSourceMethodEditor.cs
- CachedTypeface.cs
- SettingsPropertyWrongTypeException.cs
- Aggregates.cs
- ACE.cs
- DecoderNLS.cs
- StorageEntitySetMapping.cs
- SafeViewOfFileHandle.cs
- ViewStateException.cs
- GuidConverter.cs
- CompressionTransform.cs
- sqlser.cs
- ScrollBar.cs
- thaishape.cs
- SystemIPAddressInformation.cs
- VectorValueSerializer.cs
- ApplicationServiceHelper.cs
- FixedDSBuilder.cs
- InvokeMethodActivityDesigner.cs
- ArgIterator.cs
- TableDetailsRow.cs
- OleDbException.cs
- WmlFormAdapter.cs
- ModelPerspective.cs
- FileChangesMonitor.cs
- IntSecurity.cs
- SocketException.cs
- JavaScriptObjectDeserializer.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- validationstate.cs
- ImpersonationContext.cs
- ConfigXmlWhitespace.cs
- AlphabeticalEnumConverter.cs
- UnsafeNativeMethods.cs