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
- ContainerFilterService.cs
- SocketPermission.cs
- Normalizer.cs
- StrokeCollectionDefaultValueFactory.cs
- SelectedDatesCollection.cs
- ManagementInstaller.cs
- TextElement.cs
- Item.cs
- LayoutSettings.cs
- PrivilegedConfigurationManager.cs
- QilValidationVisitor.cs
- EditingScopeUndoUnit.cs
- TraceSection.cs
- DeclarativeConditionsCollection.cs
- WindowsSysHeader.cs
- XmlSchemaDocumentation.cs
- _LocalDataStoreMgr.cs
- WindowVisualStateTracker.cs
- CatalogPartCollection.cs
- ProgressBar.cs
- PrintSystemException.cs
- WebPartCollection.cs
- ExceptionTrace.cs
- XmlSchemaRedefine.cs
- UndoUnit.cs
- ListControlConvertEventArgs.cs
- AttachedPropertyDescriptor.cs
- SelectedCellsCollection.cs
- ResizeBehavior.cs
- PlanCompilerUtil.cs
- PropagatorResult.cs
- StrokeNode.cs
- SqlDataSourceCommandEventArgs.cs
- WaitHandle.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- QueryPageSettingsEventArgs.cs
- DataGridViewTopRowAccessibleObject.cs
- RadioButtonRenderer.cs
- SByte.cs
- ProfilePropertyNameValidator.cs
- FixedPageAutomationPeer.cs
- ReturnType.cs
- PeerEndPoint.cs
- CommentAction.cs
- WebAdminConfigurationHelper.cs
- CodeNamespace.cs
- ExpressionBuilder.cs
- PenThread.cs
- DispatchChannelSink.cs
- EllipseGeometry.cs
- Pair.cs
- AbsoluteQuery.cs
- ToolStripContainer.cs
- TextRangeSerialization.cs
- EdmSchemaAttribute.cs
- ReferenceConverter.cs
- RunWorkerCompletedEventArgs.cs
- ChangePasswordAutoFormat.cs
- VersionValidator.cs
- DefaultMemberAttribute.cs
- DefaultAssemblyResolver.cs
- PeerInvitationResponse.cs
- Point4D.cs
- RemoteWebConfigurationHostStream.cs
- Sorting.cs
- FormViewCommandEventArgs.cs
- ErrorLog.cs
- HttpCacheParams.cs
- HttpProfileBase.cs
- WebContext.cs
- Attributes.cs
- InternalSafeNativeMethods.cs
- EventLogRecord.cs
- SchemaSetCompiler.cs
- IpcClientManager.cs
- DateTimeStorage.cs
- ValidationSummary.cs
- Empty.cs
- DragDeltaEventArgs.cs
- ObjectStateEntry.cs
- FormViewModeEventArgs.cs
- Context.cs
- COM2ComponentEditor.cs
- Module.cs
- CollectionBase.cs
- ResizeGrip.cs
- Package.cs
- GeometryModel3D.cs
- StateRuntime.cs
- DynamicActionMessageFilter.cs
- WebConfigurationFileMap.cs
- ProgressBarAutomationPeer.cs
- UTF32Encoding.cs
- HwndHost.cs
- ListViewEditEventArgs.cs
- SocketManager.cs
- CacheSection.cs
- BrowserDefinition.cs
- PreProcessInputEventArgs.cs
- ADMembershipUser.cs