25 references to WhenExplicitlyEnabled
Microsoft.CodeAnalysis.CodeStyle (25)
src\Analyzers\Core\Analyzers\EnforceOnBuildValues.cs (25)
107
public const EnforceOnBuild RemoveUnnecessaryCast = /*IDE0004*/ EnforceOnBuild.
WhenExplicitlyEnabled
; // TODO: Move to 'Recommended' OR 'HighlyRecommended' bucket once performance problems are addressed: https://github.com/dotnet/roslyn/issues/43304
108
public const EnforceOnBuild PopulateSwitchStatement = /*IDE0010*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
109
public const EnforceOnBuild UseInferredMemberName = /*IDE0037*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
110
public const EnforceOnBuild UseIsNullCheck = /*IDE0041*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
111
public const EnforceOnBuild AddRequiredParentheses = /*IDE0048*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
112
public const EnforceOnBuild ExpressionValueIsUnused = /*IDE0058*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
113
public const EnforceOnBuild MakeStructFieldsWritable = /*IDE0064*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
114
public const EnforceOnBuild ConvertSwitchStatementToExpression = /*IDE0066*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
115
public const EnforceOnBuild PopulateSwitchExpression = /*IDE0072*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
116
public const EnforceOnBuild SimplifyLinqExpression = /*IDE0120*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
117
public const EnforceOnBuild SimplifyLinqTypeCheckAndCast = /*IDE0121*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
118
public const EnforceOnBuild UseNullCheckOverTypeCheck = /*IDE0150*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
119
public const EnforceOnBuild UseTopLevelStatements = /*IDE0210*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
120
public const EnforceOnBuild UseProgramMain = /*IDE0211*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
121
public const EnforceOnBuild ForEachCast = /*IDE0220*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
122
public const EnforceOnBuild UseUtf8StringLiteral = /*IDE0230*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
123
public const EnforceOnBuild MultipleBlankLines = /*IDE2000*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
124
public const EnforceOnBuild EmbeddedStatementPlacement = /*IDE2001*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
125
public const EnforceOnBuild ConsecutiveBracePlacement = /*IDE2002*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
126
public const EnforceOnBuild ConsecutiveStatementPlacement = /*IDE2003*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
127
public const EnforceOnBuild ConstructorInitializerPlacement = /*IDE2004*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
128
public const EnforceOnBuild ConditionalExpressionPlacement = /*IDE2005*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
129
public const EnforceOnBuild ArrowExpressionClausePlacement = /*IDE2006*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
131
public const EnforceOnBuild Regex = /*RE0001*/ EnforceOnBuild.
WhenExplicitlyEnabled
;
132
public const EnforceOnBuild Json = /*JSON001*/ EnforceOnBuild.
WhenExplicitlyEnabled
;