19 references to WarningLevel
Microsoft.VisualStudio.LanguageServices.UnitTests (9)
ProjectSystemShim\ConvertedVisualBasicProjectOptionsTests.vb (9)
25Dim convertedOptions = GetConvertedOptions(ruleSetGeneralOption:=ReportDiagnostic.Warn, commandLineGeneralOption:=WarningLevel.WARN_AsError) 38Dim convertedOptions = GetConvertedOptions(commandLineGeneralOption:=WarningLevel.WARN_AsError, ruleSetSpecificOptions:=ruleSetSpecificOptions) 52Dim convertedOptions = GetConvertedOptions(commandLineGeneralOption:=WarningLevel.WARN_AsError, ruleSetSpecificOptions:=ruleSetSpecificOptions) 68commandLineGeneralOption:=WarningLevel.WARN_AsError, 85commandLineGeneralOption:=WarningLevel.WARN_AsError, 102commandLineGeneralOption:=WarningLevel.WARN_AsError, 122commandLineGeneralOption:=WarningLevel.WARN_None) 151Optional commandLineGeneralOption As WarningLevel = WarningLevel.WARN_Regular,
Microsoft.VisualStudio.LanguageServices.VisualBasic (10)
ProjectSystemShim\Interop\VBCompilerOptions.vb (1)
136Public WarningLevel As WarningLevel
ProjectSystemShim\Interop\WarningItemLevel.vb (1)
11Public WarningLevel As WarningLevel
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (8)
251Private Shared Function DetermineGeneralDiagnosticOption(level As WarningLevel, ruleSetGeneralDiagnosticOption As ReportDiagnostic?) As ReportDiagnostic 253If level = WarningLevel.WARN_Regular AndAlso 271If options.WarningLevel = WarningLevel.WARN_AsError Then 277ElseIf options.WarningLevel = WarningLevel.WARN_None Then 307Private Shared Function ConvertWarningLevel(level As WarningLevel) As ReportDiagnostic 309Case WarningLevel.WARN_None 312Case WarningLevel.WARN_Regular 315Case WarningLevel.WARN_AsError