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
- Byte.cs
- ProviderCommandInfoUtils.cs
- WebPartConnection.cs
- ThreadExceptionEvent.cs
- FunctionImportMapping.cs
- BufferBuilder.cs
- XmlSchemaSimpleContentRestriction.cs
- WindowsAuthenticationModule.cs
- M3DUtil.cs
- DataGridCaption.cs
- ServiceEndpoint.cs
- SettingsPropertyValue.cs
- IgnoreSectionHandler.cs
- StrongNameUtility.cs
- HeaderedContentControl.cs
- RecognitionEventArgs.cs
- HttpWebRequestElement.cs
- HostingEnvironmentException.cs
- XmlHierarchicalEnumerable.cs
- SoapConverter.cs
- DispatcherTimer.cs
- _UriSyntax.cs
- ContainerControl.cs
- WebControlParameterProxy.cs
- ExpressionWriter.cs
- QuestionEventArgs.cs
- FileReservationCollection.cs
- TextTreeRootNode.cs
- XPathAxisIterator.cs
- KeySplineConverter.cs
- NullPackagingPolicy.cs
- PromptStyle.cs
- XmlMembersMapping.cs
- TagMapInfo.cs
- OleDbDataAdapter.cs
- WeakEventTable.cs
- Transform3D.cs
- EditCommandColumn.cs
- ObservableCollection.cs
- BaseProcessProtocolHandler.cs
- VirtualPathProvider.cs
- StreamInfo.cs
- ImageCreator.cs
- ManagementOperationWatcher.cs
- TablePatternIdentifiers.cs
- TableNameAttribute.cs
- HandleExceptionArgs.cs
- CommonDialog.cs
- FileChangesMonitor.cs
- CriticalFinalizerObject.cs
- VirtualStackFrame.cs
- Popup.cs
- TakeOrSkipQueryOperator.cs
- ObjectTypeMapping.cs
- MulticastIPAddressInformationCollection.cs
- FlowchartSizeFeature.cs
- DataSourceSelectArguments.cs
- CharUnicodeInfo.cs
- XmlSchemaAttribute.cs
- WebPartVerb.cs
- AxHost.cs
- TextTabProperties.cs
- SmtpReplyReader.cs
- Point3DCollectionValueSerializer.cs
- SafeFileHandle.cs
- ContentType.cs
- ProtocolViolationException.cs
- AssemblyHash.cs
- Label.cs
- MsmqIntegrationSecurity.cs
- IISUnsafeMethods.cs
- SQLDecimal.cs
- InternalConfigConfigurationFactory.cs
- DependentList.cs
- PrintPreviewGraphics.cs
- ColumnResult.cs
- SingleTagSectionHandler.cs
- SimplePropertyEntry.cs
- DesignerActionUI.cs
- CharacterBuffer.cs
- CssClassPropertyAttribute.cs
- MobileErrorInfo.cs
- CustomAttributeFormatException.cs
- ThousandthOfEmRealDoubles.cs
- SettingsContext.cs
- WebPart.cs
- CustomAttributeFormatException.cs
- TreeViewCancelEvent.cs
- CodeTypeMember.cs
- ComponentResourceKeyConverter.cs
- xsdvalidator.cs
- HMACRIPEMD160.cs
- DependencySource.cs
- ThemeConfigurationDialog.cs
- DataGridViewAdvancedBorderStyle.cs
- PropertyCollection.cs
- PrintDocument.cs
- MasterPageCodeDomTreeGenerator.cs
- SizeChangedEventArgs.cs
- RuntimeIdentifierPropertyAttribute.cs