Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputEventArgs.cs
- SingleAnimationBase.cs
- ITextView.cs
- HtmlControl.cs
- WebControlAdapter.cs
- typedescriptorpermissionattribute.cs
- SoapSchemaImporter.cs
- TemplatePropertyEntry.cs
- CryptoApi.cs
- HierarchicalDataTemplate.cs
- ConfigurationManagerInternalFactory.cs
- RawAppCommandInputReport.cs
- ResourceType.cs
- NameSpaceExtractor.cs
- FlowLayout.cs
- DataGridSortCommandEventArgs.cs
- MetadataAssemblyHelper.cs
- ZipFileInfo.cs
- RelationshipEndCollection.cs
- RoleGroupCollection.cs
- WebPartAddingEventArgs.cs
- CqlErrorHelper.cs
- QilList.cs
- Bold.cs
- ResourceExpressionBuilder.cs
- DateTimeStorage.cs
- Base64Stream.cs
- sqlmetadatafactory.cs
- WebRequest.cs
- AuditLogLocation.cs
- WorkflowOperationAsyncResult.cs
- ThreadPool.cs
- Trustee.cs
- FontStretches.cs
- XmlDictionaryReaderQuotas.cs
- ConsumerConnectionPoint.cs
- ObjectListComponentEditor.cs
- ObjectItemNoOpAssemblyLoader.cs
- Accessible.cs
- TabControlCancelEvent.cs
- CopyCodeAction.cs
- HGlobalSafeHandle.cs
- NetworkInterface.cs
- MessageContractAttribute.cs
- MenuItemBinding.cs
- Identity.cs
- SmiTypedGetterSetter.cs
- DataFieldCollectionEditor.cs
- RuntimeWrappedException.cs
- SpecularMaterial.cs
- ShapingEngine.cs
- Stylus.cs
- SQLMoney.cs
- Token.cs
- InputBinding.cs
- AuthenticationException.cs
- CreateUserWizard.cs
- ScriptHandlerFactory.cs
- WebPartEventArgs.cs
- Compiler.cs
- StateItem.cs
- FontInfo.cs
- SqlDependencyListener.cs
- BooleanStorage.cs
- TypefaceMap.cs
- RenderData.cs
- ViewDesigner.cs
- EntityContainerAssociationSet.cs
- SeekStoryboard.cs
- CommentEmitter.cs
- ConfigurationConverterBase.cs
- WebSysDisplayNameAttribute.cs
- SynchronizationValidator.cs
- StyleModeStack.cs
- ValueQuery.cs
- Content.cs
- DBSchemaRow.cs
- OdbcConnectionPoolProviderInfo.cs
- ValueType.cs
- WebPartZoneBase.cs
- ToolStripPanelCell.cs
- TextFormatter.cs
- FormsIdentity.cs
- SecurityManager.cs
- safemediahandle.cs
- XmlILTrace.cs
- TransformGroup.cs
- CroppedBitmap.cs
- Misc.cs
- PropertyGridEditorPart.cs
- SecurityToken.cs
- ExtenderProvidedPropertyAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- SharedStream.cs
- ToolStripSettings.cs
- OpenFileDialog.cs
- COM2Enum.cs
- XMLSchema.cs
- TextElementEnumerator.cs
- VersionedStreamOwner.cs