7 references to WithWarningAsError
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (2)
159
Diagnostic(ErrorCode.WRN_LowercaseEllSuffix, "l").WithLocation(1, 22).
WithWarningAsError
(true));
178
Diagnostic(ErrorCode.WRN_LowercaseEllSuffix, "l").WithLocation(1, 23).
WithWarningAsError
(true),
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
254
newExpected = expected.
WithWarningAsError
(!expected.IsWarningAsError);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Parser\ParseDirectives.vb (4)
3222
New Test.Utilities.DiagnosticDescription(expectedId, "As Long", Nothing, Nothing, Nothing, False, GetType(String)).WithLocation(10, 15).
WithWarningAsError
(True))
3231
New Test.Utilities.DiagnosticDescription(expectedId, "As Long", Nothing, Nothing, Nothing, False, GetType(String)).WithLocation(10, 15).
WithWarningAsError
(True))
3329
New Test.Utilities.DiagnosticDescription(expectedId, "As Long", Nothing, Nothing, Nothing, False, GetType(String)).WithLocation(10, 15).
WithWarningAsError
(True))
3338
New Test.Utilities.DiagnosticDescription(expectedId, "As Long", Nothing, Nothing, Nothing, False, GetType(String)).WithLocation(10, 15).
WithWarningAsError
(True))