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
- WS2007FederationHttpBindingCollectionElement.cs
- WeakEventTable.cs
- XmlTypeAttribute.cs
- BitmapEffectCollection.cs
- HashLookup.cs
- Rule.cs
- Range.cs
- GradientBrush.cs
- ComponentDispatcherThread.cs
- SR.cs
- PartialCachingControl.cs
- ClientRuntimeConfig.cs
- GridViewRow.cs
- CodeBlockBuilder.cs
- DefaultTextStore.cs
- GridViewRow.cs
- HttpModuleCollection.cs
- SafeUserTokenHandle.cs
- XmlSchema.cs
- FormsAuthenticationUserCollection.cs
- CodeVariableReferenceExpression.cs
- TokenizerHelper.cs
- SqlDataSourceQuery.cs
- NavigationService.cs
- SemaphoreFullException.cs
- SolidBrush.cs
- ScriptReference.cs
- CustomSignedXml.cs
- RtfToXamlLexer.cs
- DataRow.cs
- RegexGroup.cs
- CodeCommentStatementCollection.cs
- PropertyPathWorker.cs
- ItemTypeToolStripMenuItem.cs
- NamedPipeTransportManager.cs
- ClientRuntimeConfig.cs
- PtsHelper.cs
- HitTestFilterBehavior.cs
- ProcessModuleCollection.cs
- SymbolEqualComparer.cs
- RouteData.cs
- DbDataReader.cs
- BooleanExpr.cs
- ResourceDescriptionAttribute.cs
- CharKeyFrameCollection.cs
- WebRequestModulesSection.cs
- SerializationException.cs
- StylusEditingBehavior.cs
- DPCustomTypeDescriptor.cs
- PersistChildrenAttribute.cs
- OrderedEnumerableRowCollection.cs
- ButtonChrome.cs
- LinkDesigner.cs
- ExpressionNormalizer.cs
- Attribute.cs
- FormViewInsertEventArgs.cs
- TextSegment.cs
- CAGDesigner.cs
- StdRegProviderWrapper.cs
- StartUpEventArgs.cs
- ProcessInputEventArgs.cs
- XhtmlStyleClass.cs
- InputScope.cs
- ConfigurationManager.cs
- AsyncPostBackTrigger.cs
- TypeNameParser.cs
- WebSysDefaultValueAttribute.cs
- NullableLongAverageAggregationOperator.cs
- SelectionRangeConverter.cs
- WindowsNonControl.cs
- BoundConstants.cs
- DrawItemEvent.cs
- TimeSpanSecondsConverter.cs
- OneOfScalarConst.cs
- AppSecurityManager.cs
- ListBase.cs
- Number.cs
- MimeTypeMapper.cs
- PathSegment.cs
- ToolZone.cs
- SafeThemeHandle.cs
- BufferBuilder.cs
- HttpStreamXmlDictionaryReader.cs
- CardSpaceShim.cs
- OpenTypeCommon.cs
- ExtenderControl.cs
- Geometry.cs
- UnsettableComboBox.cs
- XamlTemplateSerializer.cs
- RubberbandSelector.cs
- IncrementalCompileAnalyzer.cs
- OleAutBinder.cs
- DataGridViewButtonCell.cs
- Image.cs
- FieldDescriptor.cs
- EnumMemberAttribute.cs
- AtomContentProperty.cs
- DependencyPropertyConverter.cs
- SqlInternalConnectionSmi.cs
- DBDataPermissionAttribute.cs