19 references to GeneralDiagnosticOption
Microsoft.CodeAnalysis (3)
RuleSet\RuleSet.cs (3)
149if (IsStricterThan(effectiveRuleset.GeneralDiagnosticOption, effectiveGeneralOption)) 151effectiveGeneralOption = effectiveRuleset.GeneralDiagnosticOption; 307generalDiagnosticOption = ruleSet.GeneralDiagnosticOption;
Microsoft.CodeAnalysis.UnitTests (15)
CommonCommandLineParserTests.cs (15)
202Assert.Equal(ReportDiagnostic.Warn, ruleSet.GeneralDiagnosticOption); 216Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 231Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 256Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 291Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 476Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 501Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 529Assert.Equal(ReportDiagnostic.Hidden, ruleSet.GeneralDiagnosticOption); 557Assert.Equal(ReportDiagnostic.Info, ruleSet.GeneralDiagnosticOption); 586Assert.Equal(ReportDiagnostic.Error, ruleSet.GeneralDiagnosticOption); 624Assert.Equal(ReportDiagnostic.Error, ruleSet.GeneralDiagnosticOption); 662Assert.Equal(ReportDiagnostic.Error, ruleSet.GeneralDiagnosticOption); 818Assert.Equal(ReportDiagnostic.Default, ruleSet.GeneralDiagnosticOption); 841Assert.Equal(ReportDiagnostic.Error, ruleSet.GeneralDiagnosticOption); 864Assert.Equal(ReportDiagnostic.Warn, ruleSet.GeneralDiagnosticOption);
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\RuleSets\VisualStudioRuleSetManager.RuleSetFile.cs (1)
132_generalDiagnosticOption = effectiveRuleset.GeneralDiagnosticOption;