CS.ASSIGN.SELF
|
Assignment of expression to itself |
4 |
false |
CS.CMP.VAL.NULL
|
Possible comparing value type expression with 'null' |
4 |
false |
CS.CONSTCOND.DO
|
'do' controlling expression is always true or always false |
4 |
true |
CS.CONSTCOND.IF
|
'if' controlling expression is always true or always false |
4 |
true |
CS.CONSTCOND.SWITCH
|
'switch' selector expression is constant |
4 |
true |
CS.CONSTCOND.TERNARY
|
Controlling condition in conditional expression is always true or always false |
4 |
true |
CS.CONSTCOND.WHILE
|
'while' controlling expression is always true or always false |
4 |
true |
CS.CTOR.VIRTUAL
|
Virtual member call in constructor |
3 |
true |
CS.EMPTY.CATCH
|
Empty catch clause |
4 |
true |
CS.FLOAT.EQCHECK
|
Equality check on floating point type |
3 |
true |
CS.FRACTION.LOSS
|
Possible loss of fraction |
4 |
true |
CS.HIDDEN.MEMBER.LOCAL.CLASS
|
Member is hidden by a local variable |
3 |
true |
CS.HIDDEN.MEMBER.LOCAL.STRUCT
|
Member is hidden by a local variable |
3 |
true |
CS.HIDDEN.MEMBER.PARAM.CLASS
|
Member is hidden by a parameter |
3 |
true |
CS.HIDDEN.MEMBER.PARAM.STRUCT
|
Member is hidden by a parameter |
3 |
true |
CS.IFACE.EMPTY
|
Empty interface |
4 |
true |
CS.LOOP.STR.CONCAT
|
String concatenation in a loop |
4 |
true |
CS.NPS
|
No permissions set for resource before accessing it |
4 |
true |
CS.NRE.CHECK.CALL.MIGHT
|
Reference may be passed to function that can dereference it after it was positively checked for null |
2 |
true |
CS.NRE.CHECK.CALL.MUST
|
Reference will be passed to function that may dereference it after it was positively checked for null |
2 |
true |
CS.NRE.CHECK.MIGHT
|
Reference may be dereferenced after it was positively checked for null |
2 |
true |
CS.NRE.CHECK.MUST
|
Reference will be dereferenced after it was positively checked for null |
2 |
true |
CS.NRE.CONST.CALL
|
Constant null is passed to function that can dereference it |
2 |
true |
CS.NRE.CONST.DEREF
|
Constant null is dereferenced |
2 |
true |
CS.NRE.FUNC.CALL.MIGHT
|
Result of function that may return null may be passed to another function that may dereference it |
2 |
true |
CS.NRE.FUNC.CALL.MUST
|
Result of function that may return null will be passed to another function that may dereference it |
2 |
true |
CS.NRE.FUNC.MIGHT
|
Result of function that can return null may be dereferenced |
2 |
true |
CS.NRE.FUNC.MUST
|
Result of function that may return null will be dereferenced |
2 |
true |
CS.NRE.GEN.CALL.MIGHT
|
Null reference may be passed to function that may dereference it |
1 |
true |
CS.NRE.GEN.CALL.MUST
|
Null reference will be passed to function that may dereference it |
1 |
true |
CS.NRE.GEN.MIGHT
|
Null reference may be dereferenced |
1 |
true |
CS.NRE.GEN.MUST
|
Null reference will be dereferenced |
1 |
true |
CS.OVRD.EQUALS
|
Overriding 'Equals' operator on a reference type |
4 |
false |
CS.RCA
|
Risky cryptographic algorithm used |
4 |
false |
CS.RLK
|
Resource leak |
2 |
true |
CS.RNRE
|
Suspicious dereference before null check |
2 |
true |
CS.SQL.INJECT.LOCAL
|
SQL Injection |
2 |
true |
CS.UNCHECKED.CAST
|
Object with type 'Object' is incorrectly cast to another object |
2 |
false |
CS.UNCHECKED.LOOPITER.CAST
|
Object with type 'Object' is incorrectly cast to another object in a loop |
2 |
false |
CS.WRONG.CAST
|
Object is incorrectly cast to another object |
2 |
true |
CS.WRONG.CAST.MIGHT
|
Object may be incorrectly cast to another object |
2 |
true |
CS.WRONGSIG.CMPTO
|
Wrong signature of 'CompareTo' method |
4 |
false |
CS.WRONGUSE.REFEQ
|
Improper usage of Object.ReferenceEquals |
4 |
true |