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
- SymbolType.cs
- KeyValueSerializer.cs
- IPPacketInformation.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- BinaryObjectWriter.cs
- Int16Animation.cs
- ListItemCollection.cs
- RijndaelManagedTransform.cs
- PrintPreviewGraphics.cs
- SoapFault.cs
- BindingValueChangedEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- ResourceReferenceKeyNotFoundException.cs
- System.Data_BID.cs
- WindowClosedEventArgs.cs
- HttpProcessUtility.cs
- Soap.cs
- DataGridItemEventArgs.cs
- MessageSmuggler.cs
- LogAppendAsyncResult.cs
- Double.cs
- AxisAngleRotation3D.cs
- UnsafeNativeMethods.cs
- ObjectManager.cs
- XmlParserContext.cs
- AppSecurityManager.cs
- Hash.cs
- MediaElementAutomationPeer.cs
- ClientTargetCollection.cs
- BooleanKeyFrameCollection.cs
- BitmapEffectInputData.cs
- RectangleHotSpot.cs
- InputScopeNameConverter.cs
- EnvironmentPermission.cs
- CompilationUtil.cs
- ElapsedEventArgs.cs
- WindowsRichEditRange.cs
- CodeExporter.cs
- CalculatedColumn.cs
- Point.cs
- Latin1Encoding.cs
- Errors.cs
- NodeInfo.cs
- PenCursorManager.cs
- DoubleIndependentAnimationStorage.cs
- BrowserTree.cs
- DeclaredTypeValidator.cs
- Component.cs
- AdornedElementPlaceholder.cs
- DelegateSerializationHolder.cs
- DBConnectionString.cs
- Merger.cs
- contentDescriptor.cs
- Rotation3D.cs
- SchemaCollectionPreprocessor.cs
- Activity.cs
- WebFormDesignerActionService.cs
- GridViewHeaderRowPresenter.cs
- DelegateBodyWriter.cs
- EntityViewGenerator.cs
- ConfigXmlText.cs
- ReadContentAsBinaryHelper.cs
- OrderedParallelQuery.cs
- CheckBoxRenderer.cs
- FontStyle.cs
- BamlCollectionHolder.cs
- HttpConfigurationSystem.cs
- ChangeConflicts.cs
- ToolStripPanelRenderEventArgs.cs
- TreeNodeStyle.cs
- XmlUtf8RawTextWriter.cs
- ServiceReference.cs
- ValueOfAction.cs
- Timer.cs
- ListViewCommandEventArgs.cs
- CurrentChangingEventManager.cs
- DefaultIfEmptyQueryOperator.cs
- ConfigurationValidatorBase.cs
- TextRunProperties.cs
- LogPolicy.cs
- IntegerValidatorAttribute.cs
- ImageSource.cs
- MissingSatelliteAssemblyException.cs
- XmlTextReaderImpl.cs
- NativeMethods.cs
- DataViewListener.cs
- Array.cs
- Scene3D.cs
- SelectManyQueryOperator.cs
- DictionarySectionHandler.cs
- ConsoleCancelEventArgs.cs
- StylusPointPropertyId.cs
- TrackingMemoryStream.cs
- StrongNameSignatureInformation.cs
- SizeIndependentAnimationStorage.cs
- DataSysAttribute.cs
- GrowingArray.cs
- PresentationUIStyleResources.cs
- DataSysAttribute.cs
- SqlUtil.cs