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
- IndentTextWriter.cs
- ColorTranslator.cs
- _OSSOCK.cs
- LinkConverter.cs
- BulletChrome.cs
- ExpressionList.cs
- SqlEnums.cs
- TextEditorLists.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DataGridState.cs
- TransferRequestHandler.cs
- ObjectDataSourceDisposingEventArgs.cs
- SafeFileMappingHandle.cs
- PerspectiveCamera.cs
- DependencyPropertyKey.cs
- PathSegmentCollection.cs
- QueryContinueDragEventArgs.cs
- RangeValuePatternIdentifiers.cs
- CapabilitiesSection.cs
- PixelFormat.cs
- ContentIterators.cs
- XmlReader.cs
- FamilyTypefaceCollection.cs
- SubqueryRules.cs
- Focus.cs
- TypeSystemHelpers.cs
- BinaryUtilClasses.cs
- DesignSurfaceManager.cs
- SafeRightsManagementPubHandle.cs
- SocketPermission.cs
- ResourceBinder.cs
- DefaultProxySection.cs
- SplitterEvent.cs
- CatchBlock.cs
- XmlNullResolver.cs
- SecurityKeyEntropyMode.cs
- RangeBase.cs
- TextMessageEncoder.cs
- ProcessInfo.cs
- ISFClipboardData.cs
- Queue.cs
- XmlNavigatorFilter.cs
- DataServiceQueryProvider.cs
- SqlInternalConnectionTds.cs
- DataGridTablesFactory.cs
- TargetControlTypeAttribute.cs
- ScriptingProfileServiceSection.cs
- RayMeshGeometry3DHitTestResult.cs
- DefaultValueTypeConverter.cs
- Function.cs
- TemplateControlParser.cs
- ImageMapEventArgs.cs
- CommandValueSerializer.cs
- CacheHelper.cs
- DataServiceClientException.cs
- CompilerError.cs
- DesignerActionItem.cs
- RenderCapability.cs
- OrderedDictionaryStateHelper.cs
- CqlBlock.cs
- SecurityContextSecurityTokenResolver.cs
- EventManager.cs
- InlinedLocationReference.cs
- MachineKeySection.cs
- ListenerBinder.cs
- SingleSelectRootGridEntry.cs
- oledbconnectionstring.cs
- PageAsyncTaskManager.cs
- TextSearch.cs
- ToolStripOverflowButton.cs
- ProfileSettingsCollection.cs
- CompilerWrapper.cs
- TableLayoutSettings.cs
- SpellerStatusTable.cs
- ServiceNotStartedException.cs
- ListViewGroupItemCollection.cs
- DataTemplate.cs
- ColumnTypeConverter.cs
- SpellCheck.cs
- DashStyle.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- HttpBufferlessInputStream.cs
- CodeVariableReferenceExpression.cs
- ReceiveSecurityHeaderEntry.cs
- Label.cs
- Point3DValueSerializer.cs
- ListBoxChrome.cs
- SignerInfo.cs
- SettingsPropertyNotFoundException.cs
- SliderAutomationPeer.cs
- BindableTemplateBuilder.cs
- ResourceBinder.cs
- Message.cs
- StreamInfo.cs
- GridViewRow.cs
- BCLDebug.cs
- CodeTypeDeclarationCollection.cs
- ProfileBuildProvider.cs
- UTF7Encoding.cs
- loginstatus.cs