Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReachFixedPageSerializer.cs
- IntegerValidator.cs
- CodeDefaultValueExpression.cs
- SystemWebSectionGroup.cs
- DynamicField.cs
- _HelperAsyncResults.cs
- DataReaderContainer.cs
- FindCriteriaApril2005.cs
- StorageEntityContainerMapping.cs
- ElapsedEventArgs.cs
- AttachedPropertyInfo.cs
- StringResourceManager.cs
- RedBlackList.cs
- BrowserCapabilitiesCompiler.cs
- ToolStripItemTextRenderEventArgs.cs
- Ref.cs
- backend.cs
- FormView.cs
- XmlSchemaSearchPattern.cs
- DrawingBrush.cs
- SoapException.cs
- EventLogPermission.cs
- LinkUtilities.cs
- XsdSchemaFileEditor.cs
- TemplateXamlParser.cs
- UrlEncodedParameterWriter.cs
- SqlConnection.cs
- ItemDragEvent.cs
- PartialCachingAttribute.cs
- TrackingValidationObjectDictionary.cs
- TextShapeableCharacters.cs
- DetailsViewPageEventArgs.cs
- UrlMappingsSection.cs
- DBBindings.cs
- ProviderIncompatibleException.cs
- FamilyMapCollection.cs
- IPGlobalProperties.cs
- LayoutTable.cs
- MarginsConverter.cs
- GlyphCache.cs
- HttpWebRequestElement.cs
- ContainerFilterService.cs
- BitmapEffectrendercontext.cs
- FlowDocumentReaderAutomationPeer.cs
- PrefixHandle.cs
- SqlComparer.cs
- NativeCompoundFileAPIs.cs
- DropTarget.cs
- ImageKeyConverter.cs
- BitmapEffectGeneralTransform.cs
- AssemblyCollection.cs
- ExceptionUtil.cs
- OleDbWrapper.cs
- XmlSchemaAttributeGroupRef.cs
- CachedRequestParams.cs
- CharacterMetrics.cs
- WebPartDeleteVerb.cs
- XmlExtensionFunction.cs
- EventBookmark.cs
- XmlDataSource.cs
- loginstatus.cs
- entityreference_tresulttype.cs
- SamlEvidence.cs
- WebPartCancelEventArgs.cs
- NullToBooleanConverter.cs
- BulletedListDesigner.cs
- ToolStrip.cs
- ContractNamespaceAttribute.cs
- FontFamilyValueSerializer.cs
- securestring.cs
- HtmlTitle.cs
- GlobalizationAssembly.cs
- WindowsScrollBarBits.cs
- PeerNameRecord.cs
- ProxyElement.cs
- Span.cs
- UrlParameterReader.cs
- ThreadAbortException.cs
- ListItemCollection.cs
- BoundPropertyEntry.cs
- DbMetaDataFactory.cs
- FixedSOMImage.cs
- Aggregates.cs
- GridItemPatternIdentifiers.cs
- RSAOAEPKeyExchangeFormatter.cs
- EventManager.cs
- IndexedGlyphRun.cs
- XmlText.cs
- CodeCatchClauseCollection.cs
- XmlAnyElementAttributes.cs
- PointAnimationBase.cs
- WindowsFormsSectionHandler.cs
- QilStrConcatenator.cs
- ActivityValidator.cs
- XsltCompileContext.cs
- CssStyleCollection.cs
- XmlDataProvider.cs
- XmlMapping.cs
- PassportIdentity.cs
- ExpressionPrinter.cs