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
- SiteMapDataSource.cs
- AttachInfo.cs
- SpeechSynthesizer.cs
- EventMappingSettings.cs
- DirectoryInfo.cs
- uribuilder.cs
- TempFiles.cs
- TimeoutConverter.cs
- TextTreeRootTextBlock.cs
- figurelength.cs
- CatalogZoneBase.cs
- IdentifierCollection.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ProviderIncompatibleException.cs
- AppliedDeviceFiltersEditor.cs
- WindowsToolbarAsMenu.cs
- InternalConfigHost.cs
- Viewport2DVisual3D.cs
- InkCanvasInnerCanvas.cs
- EventTrigger.cs
- PenContexts.cs
- ExecutionScope.cs
- ParseChildrenAsPropertiesAttribute.cs
- UIElementParagraph.cs
- Site.cs
- SimpleWebHandlerParser.cs
- TraceListeners.cs
- CryptographicAttribute.cs
- NumberEdit.cs
- FrameworkContentElement.cs
- TdsParserStateObject.cs
- Latin1Encoding.cs
- ProviderConnectionPointCollection.cs
- ListItemParagraph.cs
- precedingquery.cs
- WebPartDisplayModeCollection.cs
- SectionInput.cs
- Rect.cs
- ContentValidator.cs
- CultureInfo.cs
- CachingHintValidation.cs
- MultiSelectRootGridEntry.cs
- Visual3D.cs
- SerializerWriterEventHandlers.cs
- SatelliteContractVersionAttribute.cs
- VBIdentifierNameEditor.cs
- DbParameterCollectionHelper.cs
- ExclusiveTcpTransportManager.cs
- FileUtil.cs
- ModelProperty.cs
- DiagnosticsElement.cs
- UnmanagedMemoryStream.cs
- HtmlTableRowCollection.cs
- RelatedPropertyManager.cs
- SqlCacheDependency.cs
- WebPartsSection.cs
- Matrix.cs
- SqlDependencyUtils.cs
- ValidatorCompatibilityHelper.cs
- DataSet.cs
- EffectiveValueEntry.cs
- Image.cs
- ComplexPropertyEntry.cs
- SafeBitVector32.cs
- FormViewPageEventArgs.cs
- ConfigurationManagerHelper.cs
- WaveHeader.cs
- PrePostDescendentsWalker.cs
- SqlClientWrapperSmiStream.cs
- odbcmetadatafactory.cs
- _LocalDataStoreMgr.cs
- TextSelectionProcessor.cs
- ServiceBuildProvider.cs
- TextRunTypographyProperties.cs
- SHA1.cs
- ProcessHostMapPath.cs
- SerialReceived.cs
- DbConnectionPoolGroupProviderInfo.cs
- UnionExpr.cs
- BitmapVisualManager.cs
- EdmSchemaError.cs
- EventItfInfo.cs
- DataRelation.cs
- PopOutPanel.cs
- ColorInterpolationModeValidation.cs
- ToolboxComponentsCreatingEventArgs.cs
- TTSEngineTypes.cs
- XmlNodeList.cs
- WebPartMovingEventArgs.cs
- DynamicDiscoSearcher.cs
- XPathException.cs
- MenuItem.cs
- CompilationSection.cs
- ADRoleFactory.cs
- WorkflowQueue.cs
- EventHandlingScope.cs
- IncrementalReadDecoders.cs
- CommonDialog.cs
- RequestCache.cs
- GridItemProviderWrapper.cs