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
- ContentOperations.cs
- DataGridViewCellValueEventArgs.cs
- ToolStripItemTextRenderEventArgs.cs
- PropertyCollection.cs
- XmlAutoDetectWriter.cs
- AnnotationComponentChooser.cs
- ExpanderAutomationPeer.cs
- CommandBindingCollection.cs
- TypedRowGenerator.cs
- WebConfigurationFileMap.cs
- FlowDocumentPaginator.cs
- BinaryObjectWriter.cs
- WindowsFont.cs
- Assert.cs
- ListItemCollection.cs
- ReaderContextStackData.cs
- DetailsViewRow.cs
- NodeFunctions.cs
- CssTextWriter.cs
- Content.cs
- WizardPanelChangingEventArgs.cs
- TemplatingOptionsDialog.cs
- XmlCustomFormatter.cs
- ObjectConverter.cs
- XhtmlBasicImageAdapter.cs
- NativeObjectSecurity.cs
- dbenumerator.cs
- SpellerStatusTable.cs
- ManagementObjectCollection.cs
- RuntimeConfigLKG.cs
- PropertyStore.cs
- Style.cs
- BitmapDownload.cs
- SemanticValue.cs
- SqlGatherProducedAliases.cs
- CatchBlock.cs
- UInt16Converter.cs
- IdnElement.cs
- FormViewUpdateEventArgs.cs
- XmlDocumentFragment.cs
- RecognitionEventArgs.cs
- RequestQueryParser.cs
- brushes.cs
- FormViewInsertedEventArgs.cs
- CultureInfoConverter.cs
- ZipIOExtraFieldZip64Element.cs
- PasswordTextContainer.cs
- ScopelessEnumAttribute.cs
- CodeSnippetTypeMember.cs
- WorkflowServiceNamespace.cs
- SerializerProvider.cs
- RunClient.cs
- MessageCredentialType.cs
- TypeExtensionConverter.cs
- GlyphRunDrawing.cs
- ConfigViewGenerator.cs
- ModuleElement.cs
- Control.cs
- PtsCache.cs
- DataServiceResponse.cs
- AdapterUtil.cs
- BufferBuilder.cs
- PriorityRange.cs
- RegexCode.cs
- ThicknessAnimationBase.cs
- PathFigureCollectionConverter.cs
- PropertyChangedEventArgs.cs
- OdbcErrorCollection.cs
- SQLDoubleStorage.cs
- linebase.cs
- XmlUtil.cs
- VarRemapper.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SyndicationDeserializer.cs
- InlineObject.cs
- MouseWheelEventArgs.cs
- ExtentCqlBlock.cs
- DataServiceException.cs
- StringPropertyBuilder.cs
- CacheEntry.cs
- HitTestWithPointDrawingContextWalker.cs
- OlePropertyStructs.cs
- ThemeableAttribute.cs
- CharacterHit.cs
- ProfilePropertyNameValidator.cs
- URLString.cs
- COM2PropertyDescriptor.cs
- wmiprovider.cs
- UrlPropertyAttribute.cs
- XmlStreamNodeWriter.cs
- PropertyGroupDescription.cs
- TreeViewCancelEvent.cs
- XmlSerializerVersionAttribute.cs
- DeviceContext2.cs
- DataDocumentXPathNavigator.cs
- Rethrow.cs
- PassportAuthenticationEventArgs.cs
- SqlWebEventProvider.cs
- CipherData.cs
- FileLogRecordEnumerator.cs