12 references to WRN_DefineIdentifierRequired
Microsoft.CodeAnalysis.CSharp (5)
CommandLine\CSharpCommandLineParser.cs (2)
1795
outputDiagnostics.Add(Diagnostic.Create(CSharp.MessageProvider.Instance, (int)ErrorCode.
WRN_DefineIdentifierRequired
, valueMemory.ToString()));
1827
outputDiagnostics.Add(Diagnostic.Create(CSharp.MessageProvider.Instance, (int)ErrorCode.
WRN_DefineIdentifierRequired
, id));
Errors\ErrorFacts.cs (2)
381
case ErrorCode.
WRN_DefineIdentifierRequired
:
1505
or ErrorCode.
WRN_DefineIdentifierRequired
Generated\ErrorFacts.Generated.cs (1)
123
case ErrorCode.
WRN_DefineIdentifierRequired
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
1921
Assert.Equal((int)ErrorCode.
WRN_DefineIdentifierRequired
, parsedArgs.Errors.First().Code);
1950
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments(""));
11977
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments("1").WithLocation(1, 1));
11993
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments(" ").WithLocation(1, 1)
12013
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments("2invalid"),
12015
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments("4"),
12017
Diagnostic(ErrorCode.
WRN_DefineIdentifierRequired
).WithArguments("5"));