Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UpdateTracker.cs
- AssemblyFilter.cs
- ThicknessKeyFrameCollection.cs
- HyperLinkStyle.cs
- OracleNumber.cs
- HostVisual.cs
- Errors.cs
- EmbeddedObject.cs
- HtmlInputControl.cs
- FactoryGenerator.cs
- CommandLibraryHelper.cs
- PrePostDescendentsWalker.cs
- HttpModuleAction.cs
- XmlKeywords.cs
- RegexTree.cs
- RtfToXamlLexer.cs
- BufferedStream.cs
- DataGridParentRows.cs
- ChunkedMemoryStream.cs
- ProviderUtil.cs
- CodeGroup.cs
- MemoryPressure.cs
- configsystem.cs
- DayRenderEvent.cs
- keycontainerpermission.cs
- _emptywebproxy.cs
- Literal.cs
- FixedSOMTableRow.cs
- XmlHelper.cs
- DataObject.cs
- XmlNullResolver.cs
- Window.cs
- CultureTable.cs
- StringBlob.cs
- PropertyGridCommands.cs
- PeerNodeTraceRecord.cs
- MethodAccessException.cs
- PropertyInformation.cs
- ManagementOperationWatcher.cs
- CroppedBitmap.cs
- DataGridRowHeaderAutomationPeer.cs
- MediaPlayerState.cs
- HelpPage.cs
- ItemMap.cs
- BehaviorEditorPart.cs
- Rect3DConverter.cs
- SystemShuttingDownException.cs
- AdvancedBindingEditor.cs
- NativeCppClassAttribute.cs
- ImplicitInputBrush.cs
- SizeAnimationClockResource.cs
- TextModifier.cs
- BamlReader.cs
- WorkflowServiceHost.cs
- streamingZipPartStream.cs
- BezierSegment.cs
- Dispatcher.cs
- GeneralTransform.cs
- QueryRewriter.cs
- ColumnWidthChangedEvent.cs
- exports.cs
- UrlMappingsSection.cs
- RemoteWebConfigurationHostStream.cs
- RelOps.cs
- SaveFileDialog.cs
- OneOf.cs
- WebPartTransformer.cs
- BuildResultCache.cs
- ReflectEventDescriptor.cs
- TypeConverterAttribute.cs
- BamlLocalizer.cs
- AuthorizationRule.cs
- SoapMessage.cs
- AnimationStorage.cs
- SystemNetworkInterface.cs
- SmiMetaData.cs
- CngUIPolicy.cs
- CompoundFileReference.cs
- ExpressionReplacer.cs
- GraphicsPathIterator.cs
- OdbcParameter.cs
- UserControlBuildProvider.cs
- EnumConverter.cs
- QueueProcessor.cs
- UserNameSecurityTokenAuthenticator.cs
- TextProperties.cs
- GPRECT.cs
- RequestUriProcessor.cs
- BinaryEditor.cs
- NamespaceQuery.cs
- ScrollPatternIdentifiers.cs
- ConstraintEnumerator.cs
- NumberAction.cs
- PasswordBox.cs
- PagedDataSource.cs
- HashHelper.cs
- RealizedColumnsBlock.cs
- CodeAccessSecurityEngine.cs
- BaseConfigurationRecord.cs
- CodeArrayIndexerExpression.cs