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
- ObjectHandle.cs
- TemplateParser.cs
- PointHitTestResult.cs
- DependencyPropertyKind.cs
- NavigationPropertyEmitter.cs
- CurrentChangingEventManager.cs
- SQLUtility.cs
- CreateUserWizardAutoFormat.cs
- CommandManager.cs
- SplayTreeNode.cs
- PrePrepareMethodAttribute.cs
- X509ScopedServiceCertificateElement.cs
- QueryAsyncResult.cs
- TextBoxView.cs
- DeclarationUpdate.cs
- Cursor.cs
- SecurityContextSecurityTokenParameters.cs
- DescendentsWalker.cs
- __ComObject.cs
- RowVisual.cs
- ObjectDataSourceView.cs
- TextChange.cs
- XmlBoundElement.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- EvidenceBase.cs
- AffineTransform3D.cs
- __ConsoleStream.cs
- PinnedBufferMemoryStream.cs
- UIElement.cs
- BypassElement.cs
- DataShape.cs
- IResourceProvider.cs
- QilUnary.cs
- DataGridTableCollection.cs
- Point3DCollection.cs
- TouchEventArgs.cs
- FragmentQueryProcessor.cs
- XMLUtil.cs
- WorkflowInspectionServices.cs
- EntryIndex.cs
- PropertyIDSet.cs
- GorillaCodec.cs
- ListBoxItem.cs
- MenuItemStyleCollection.cs
- JavascriptCallbackMessageInspector.cs
- WebServiceClientProxyGenerator.cs
- ModelItemCollectionImpl.cs
- AssemblyHash.cs
- XmlNotation.cs
- FolderBrowserDialog.cs
- MenuAutoFormat.cs
- HashHelper.cs
- MenuItem.cs
- X509Certificate2Collection.cs
- QuotedPrintableStream.cs
- ImportedPolicyConversionContext.cs
- Pkcs7Signer.cs
- DefaultCompensation.cs
- relpropertyhelper.cs
- KnownAssembliesSet.cs
- MimeTypeMapper.cs
- QfeChecker.cs
- SqlAliaser.cs
- DataGrid.cs
- PreservationFileWriter.cs
- RawStylusInputCustomDataList.cs
- ExpandableObjectConverter.cs
- SerializationObjectManager.cs
- RotateTransform3D.cs
- Walker.cs
- TypeDefinition.cs
- StructureChangedEventArgs.cs
- XmlILConstructAnalyzer.cs
- NonSerializedAttribute.cs
- StoreContentChangedEventArgs.cs
- XmlAtomErrorReader.cs
- WebPartRestoreVerb.cs
- XmlSchemaSet.cs
- GPPOINTF.cs
- ThemeDirectoryCompiler.cs
- Tuple.cs
- CallTemplateAction.cs
- CustomErrorsSection.cs
- SamlAssertionKeyIdentifierClause.cs
- HashUtility.cs
- HtmlTableCell.cs
- ResponseBodyWriter.cs
- DynamicQueryableWrapper.cs
- SafeLocalMemHandle.cs
- WebPartZoneBase.cs
- WizardPanelChangingEventArgs.cs
- MailAddressCollection.cs
- MatrixAnimationBase.cs
- CharEnumerator.cs
- _ProxyChain.cs
- DateTimeOffset.cs
- TraceInternal.cs
- HScrollProperties.cs
- SerialPinChanges.cs
- TextRangeAdaptor.cs