20 references to WRN_NoSources
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineParser.cs (1)
1386
AddDiagnostic(diagnostics, diagnosticOptions, ErrorCode.
WRN_NoSources
);
Errors\ErrorFacts.cs (2)
311
case ErrorCode.
WRN_NoSources
:
1432
case ErrorCode.
WRN_NoSources
:
Generated\ErrorFacts.Generated.cs (1)
121
case ErrorCode.
WRN_NoSources
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (15)
CommandLineTests.cs (15)
608
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
679
Assert.Equal((int)ErrorCode.
WRN_NoSources
, args.Errors[1].Code);
1306
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1314
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1322
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1330
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1338
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1346
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1354
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1364
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1373
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1382
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1391
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1400
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1662
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
243
Assert.Equal(2, ErrorFacts.GetWarningLevel(ErrorCode.
WRN_NoSources
));