Code:
/ DotNET / DotNET / 8.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
- ZipIOCentralDirectoryDigitalSignature.cs
- RegistrySecurity.cs
- StickyNote.cs
- ListBoxChrome.cs
- DynamicResourceExtension.cs
- ControlParameter.cs
- GridViewUpdateEventArgs.cs
- DataGridViewRowStateChangedEventArgs.cs
- coordinatorfactory.cs
- DataBindingValueUIHandler.cs
- SoapSchemaImporter.cs
- ASCIIEncoding.cs
- KoreanCalendar.cs
- RequestDescription.cs
- PermissionSetTriple.cs
- JsonReaderWriterFactory.cs
- ReadOnlyCollectionBase.cs
- ConnectionInterfaceCollection.cs
- ToolboxItemAttribute.cs
- OletxResourceManager.cs
- DataMemberConverter.cs
- ObjectQueryProvider.cs
- QueueProcessor.cs
- Size.cs
- Attributes.cs
- HideDisabledControlAdapter.cs
- RenderingBiasValidation.cs
- ConnectionManagementElementCollection.cs
- DescendentsWalker.cs
- DataRelationCollection.cs
- NetworkStream.cs
- NoneExcludedImageIndexConverter.cs
- LineGeometry.cs
- VScrollProperties.cs
- OdbcPermission.cs
- CompressedStack.cs
- FixedSOMContainer.cs
- ListViewAutomationPeer.cs
- ProtectedConfigurationSection.cs
- DependencyPropertyValueSerializer.cs
- SpecialNameAttribute.cs
- FunctionParameter.cs
- Slider.cs
- PageVisual.cs
- SecurityDocument.cs
- SqlCacheDependency.cs
- ElementNotEnabledException.cs
- AlignmentYValidation.cs
- DataRelationCollection.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SqlServices.cs
- Duration.cs
- XmlSchemaSimpleTypeRestriction.cs
- IsolatedStoragePermission.cs
- Variable.cs
- EnumerableRowCollection.cs
- TableParagraph.cs
- KerberosReceiverSecurityToken.cs
- FigureParaClient.cs
- SplineQuaternionKeyFrame.cs
- UrlMappingCollection.cs
- HandlerWithFactory.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- SmtpSection.cs
- HotSpotCollection.cs
- DataGridTextColumn.cs
- ControlOperationBehavior.cs
- HtmlElementEventArgs.cs
- TraceRecord.cs
- DetailsViewUpdatedEventArgs.cs
- RoutedEventValueSerializer.cs
- FrameworkRichTextComposition.cs
- LinqDataSourceSelectEventArgs.cs
- EventProviderClassic.cs
- Rijndael.cs
- BitmapEffect.cs
- EllipseGeometry.cs
- TextProviderWrapper.cs
- JapaneseLunisolarCalendar.cs
- DataSourceHelper.cs
- DynamicResourceExtensionConverter.cs
- AdornerPresentationContext.cs
- ListViewGroupItemCollection.cs
- BrowserTree.cs
- AssemblyCache.cs
- HttpBrowserCapabilitiesWrapper.cs
- SqlConnectionHelper.cs
- EntityTypeBase.cs
- SapiRecognizer.cs
- CodeAssignStatement.cs
- UnmanagedMemoryStreamWrapper.cs
- PartialTrustVisibleAssemblyCollection.cs
- HttpResponseInternalWrapper.cs
- _WebProxyDataBuilder.cs
- ResourceExpression.cs
- DynamicControl.cs
- DoubleLink.cs
- SmiRecordBuffer.cs
- _TimerThread.cs
- CultureInfoConverter.cs