Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SuppressMessageAttribute.cs
Go to the documentation of this file.
1
namespace
System.Diagnostics.CodeAnalysis
;
2
3
[AttributeUsage(
AttributeTargets
.All, Inherited =
false
, AllowMultiple =
true
)]
4
[
Conditional
(
"CODE_ANALYSIS"
)]
5
public
sealed
class
SuppressMessageAttribute
:
Attribute
6
{
7
public
string
Category
{
get
; }
8
9
public
string
CheckId
{
get
; }
10
11
public
string
?
Scope
{
get
;
set
; }
12
13
public
string
?
Target
{
get
;
set
; }
14
15
public
string
?
MessageId
{
get
;
set
; }
16
17
public
string
?
Justification
{
get
;
set
; }
18
19
public
SuppressMessageAttribute
(
string
category,
string
checkId)
20
{
21
Category
= category;
22
CheckId
= checkId;
23
}
24
}
System.Attribute
Definition
Attribute.cs:12
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.CheckId
string CheckId
Definition
SuppressMessageAttribute.cs:9
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.MessageId
string? MessageId
Definition
SuppressMessageAttribute.cs:15
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.Scope
string? Scope
Definition
SuppressMessageAttribute.cs:11
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.Justification
string? Justification
Definition
SuppressMessageAttribute.cs:17
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.Category
string Category
Definition
SuppressMessageAttribute.cs:7
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.SuppressMessageAttribute
SuppressMessageAttribute(string category, string checkId)
Definition
SuppressMessageAttribute.cs:19
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute.Target
string? Target
Definition
SuppressMessageAttribute.cs:13
System.Diagnostics.CodeAnalysis.SuppressMessageAttribute
Definition
SuppressMessageAttribute.cs:6
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Linq.Expressions.ExpressionType.Conditional
@ Conditional
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:5
source
System.Private.CoreLib
System.Diagnostics.CodeAnalysis
SuppressMessageAttribute.cs
Generated by
1.10.0