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