16 references to Never
Microsoft.CodeAnalysis.CodeStyle (15)
src\Analyzers\Core\Analyzers\DiagnosticCustomTags.cs (2)
14
private static readonly string s_enforceOnBuildNeverTag = EnforceOnBuild.
Never
.ToCustomTag();
74
Debug.Assert(isConfigurable || enforceOnBuild == EnforceOnBuild.
Never
);
src\Analyzers\Core\Analyzers\EnforceOnBuildValues.cs (10)
136
public const EnforceOnBuild SimplifyNames = /*IDE0001*/ EnforceOnBuild.
Never
;
137
public const EnforceOnBuild SimplifyMemberAccess = /*IDE0002*/ EnforceOnBuild.
Never
;
138
public const EnforceOnBuild RemoveQualification = /*IDE0003*/ EnforceOnBuild.
Never
;
139
public const EnforceOnBuild AddQualification = /*IDE0009*/ EnforceOnBuild.
Never
;
140
public const EnforceOnBuild PreferBuiltInOrFrameworkType = /*IDE0049*/ EnforceOnBuild.
Never
;
141
public const EnforceOnBuild ConvertAnonymousTypeToTuple = /*IDE0050*/ EnforceOnBuild.
Never
;
142
public const EnforceOnBuild RemoveUnreachableCode = /*IDE0035*/ EnforceOnBuild.
Never
; // Non-configurable fading diagnostic corresponding to CS0162.
143
public const EnforceOnBuild RemoveUnnecessarySuppression = /*IDE0079*/ EnforceOnBuild.
Never
; // IDE-only analyzer.
144
public const EnforceOnBuild CopilotImplementNotImplementedException = /*IDE3000*/ EnforceOnBuild.
Never
; // IDE-only analyzer.
147
public const EnforceOnBuild DetectProbableJsonStrings = /*JSON002*/ EnforceOnBuild.
Never
;
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (3)
31
RemoveUnnecessaryImportsConstants.DiagnosticFixableId, EnforceOnBuild.
Never
, hasAnyCodeStyleOption: false, "", "", isConfigurable: false);
43
customTags: [.. DiagnosticCustomTags.Microsoft, EnforceOnBuild.
Never
.ToCustomTag()]);
59
generatedCodeClassificationIdDescriptor = CreateDescriptorWithId(IDEDiagnosticIds.RemoveUnnecessaryImportsDiagnosticId + "_gen", EnforceOnBuild.
Never
, hasAnyCodeStyleOption: false, titleAndMessage, isUnnecessary: true, isConfigurable: false);
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\AbstractBuiltInCodeStyleDiagnosticAnalyzer\AbstractBuiltInCodeStyleDiagnosticAnalyzerTests.cs (1)
42
enforceOnBuild: EnforceOnBuild.
Never
,