Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Diagnostics / CodeAnalysis / SuppressMessageAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SubMenuStyleCollection.cs
- StylusPointPropertyInfoDefaults.cs
- RepeatInfo.cs
- PartialTrustVisibleAssembliesSection.cs
- FormView.cs
- SRGSCompiler.cs
- FlowDocumentReaderAutomationPeer.cs
- ToggleProviderWrapper.cs
- Descriptor.cs
- columnmapfactory.cs
- Int32AnimationBase.cs
- FormatConvertedBitmap.cs
- ThemeDirectoryCompiler.cs
- Pair.cs
- BufferedReadStream.cs
- SynchronousReceiveBehavior.cs
- MessageDecoder.cs
- XsdBuildProvider.cs
- SafeRegistryHandle.cs
- ExpressionConverter.cs
- TokenFactoryFactory.cs
- ColorTransformHelper.cs
- HtmlInputCheckBox.cs
- Knowncolors.cs
- XmlMemberMapping.cs
- XmlSchemaExporter.cs
- DataBinder.cs
- DropDownButton.cs
- StorageEndPropertyMapping.cs
- AvTraceDetails.cs
- ResourceExpressionEditor.cs
- HttpCacheParams.cs
- ContextInformation.cs
- CompilerInfo.cs
- TraceInternal.cs
- HandleRef.cs
- Storyboard.cs
- WsdlInspector.cs
- UndoManager.cs
- SR.cs
- BufferAllocator.cs
- CodeObject.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ProfileSettingsCollection.cs
- GeometryModel3D.cs
- UniqueConstraint.cs
- UInt16Storage.cs
- MarshalByRefObject.cs
- KeyValuePairs.cs
- objectquery_tresulttype.cs
- FlowDocumentPage.cs
- Bitmap.cs
- StorageScalarPropertyMapping.cs
- CryptographicAttribute.cs
- Repeater.cs
- TreeNodeBinding.cs
- QilIterator.cs
- FileSecurity.cs
- SqlDataSource.cs
- XmlAttributes.cs
- UnsafeNativeMethods.cs
- SoapObjectWriter.cs
- Script.cs
- CorePropertiesFilter.cs
- DateTimeSerializationSection.cs
- ResourceDefaultValueAttribute.cs
- OdbcDataAdapter.cs
- ImageListImageEditor.cs
- QilIterator.cs
- ButtonFieldBase.cs
- WebPartMinimizeVerb.cs
- DataRelation.cs
- CodeConditionStatement.cs
- GlyphRunDrawing.cs
- Vector3DCollectionValueSerializer.cs
- RankException.cs
- PersonalizationProviderCollection.cs
- TextUtf8RawTextWriter.cs
- MemoryFailPoint.cs
- Visual3D.cs
- XPathCompiler.cs
- AuthenticationServiceManager.cs
- SqlTransaction.cs
- LayoutEditorPart.cs
- AttributeQuery.cs
- TransmissionStrategy.cs
- SortedList.cs
- OverlappedAsyncResult.cs
- RegisteredScript.cs
- HttpSocketManager.cs
- MissingManifestResourceException.cs
- SystemInformation.cs
- DataGridViewComboBoxColumn.cs
- ObfuscationAttribute.cs
- HitTestResult.cs
- X509CertificateStore.cs
- Enlistment.cs
- DrawingGroup.cs
- MimeXmlImporter.cs
- ConnectionPoolManager.cs