21 references to WRN_NoSources
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineParser.cs (1)
1399
AddDiagnostic(diagnostics, diagnosticOptions, ErrorCode.
WRN_NoSources
);
Errors\ErrorFacts.cs (2)
324
case ErrorCode.
WRN_NoSources
:
1493
or ErrorCode.
WRN_NoSources
Generated\ErrorFacts.Generated.cs (1)
121
case ErrorCode.
WRN_NoSources
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (16)
CommandLineIVTTests.cs (1)
370
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
CommandLineTests.cs (15)
665
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
736
Assert.Equal((int)ErrorCode.
WRN_NoSources
, args.Errors[1].Code);
1349
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1357
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1365
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1373
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1381
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1389
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1397
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1407
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1416
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1425
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1434
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1443
Diagnostic(ErrorCode.
WRN_NoSources
).WithLocation(1, 1),
1705
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
));