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
- PrePostDescendentsWalker.cs
- RawStylusSystemGestureInputReport.cs
- DropShadowEffect.cs
- ISFClipboardData.cs
- TypeReference.cs
- ImageInfo.cs
- AsmxEndpointPickerExtension.cs
- OrderByBuilder.cs
- WebAdminConfigurationHelper.cs
- SparseMemoryStream.cs
- ListViewGroupConverter.cs
- OdbcFactory.cs
- RecognizedAudio.cs
- BatchParser.cs
- PointCollection.cs
- ObjectListItem.cs
- TextEditorParagraphs.cs
- RegexMatchCollection.cs
- CodeSnippetStatement.cs
- QuaternionAnimation.cs
- GregorianCalendarHelper.cs
- UInt32Storage.cs
- OlePropertyStructs.cs
- EnumMember.cs
- X500Name.cs
- Line.cs
- WebServiceParameterData.cs
- HitTestResult.cs
- XmlNamedNodeMap.cs
- QuarticEase.cs
- ObjectCacheHost.cs
- ObjectReaderCompiler.cs
- PtsHelper.cs
- CultureInfoConverter.cs
- SelectedDatesCollection.cs
- HashMembershipCondition.cs
- BuildProvider.cs
- dtdvalidator.cs
- ExtractorMetadata.cs
- SimpleType.cs
- XsltConvert.cs
- HandleValueEditor.cs
- BinaryVersion.cs
- PropertyGeneratedEventArgs.cs
- ProfileInfo.cs
- SchemaImporterExtension.cs
- CssClassPropertyAttribute.cs
- CapiSafeHandles.cs
- GPPOINTF.cs
- ComboBoxRenderer.cs
- XmlQueryOutput.cs
- FloaterParagraph.cs
- CompositeScriptReferenceEventArgs.cs
- SectionInput.cs
- ProviderConnectionPointCollection.cs
- CallInfo.cs
- TabPanel.cs
- TextEffectCollection.cs
- SwitchElementsCollection.cs
- ResXResourceSet.cs
- ConfigXmlElement.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ThemeableAttribute.cs
- ModuleBuilderData.cs
- XmlUnspecifiedAttribute.cs
- OleDbRowUpdatedEvent.cs
- SqlErrorCollection.cs
- DiagnosticTrace.cs
- LinqMaximalSubtreeNominator.cs
- SeverityFilter.cs
- XamlDesignerSerializationManager.cs
- PrintingPermission.cs
- GrammarBuilderDictation.cs
- CompressedStack.cs
- ModelServiceImpl.cs
- _BaseOverlappedAsyncResult.cs
- NamedPermissionSet.cs
- Identity.cs
- TransportReplyChannelAcceptor.cs
- NameSpaceEvent.cs
- VisualStyleInformation.cs
- XmlSchemaCompilationSettings.cs
- AsyncPostBackTrigger.cs
- SkinBuilder.cs
- MethodImplAttribute.cs
- IPPacketInformation.cs
- GAC.cs
- MediaTimeline.cs
- SwitchElementsCollection.cs
- TemplateControlParser.cs
- CodeCatchClause.cs
- Pair.cs
- OperationInfo.cs
- DrawListViewColumnHeaderEventArgs.cs
- DocumentApplicationJournalEntry.cs
- TimeIntervalCollection.cs
- SpinWait.cs
- RoleManagerModule.cs
- LinkAreaEditor.cs
- CompositeDataBoundControl.cs