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