16 references to WRN_GeneratorFailedDuringGeneration
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
479
case ErrorCode.
WRN_GeneratorFailedDuringGeneration
:
2001
case ErrorCode.
WRN_GeneratorFailedDuringGeneration
:
Errors\MessageProvider.cs (1)
264
public override int WRN_GeneratorFailedDuringGeneration => (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
;
Generated\ErrorFacts.Generated.cs (1)
247
case ErrorCode.
WRN_GeneratorFailedDuringGeneration
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
SourceGeneration\GeneratorDriverTests.cs (4)
336
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "InvalidOperationException", "generate error").WithLocation(1, 1)
365
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "InvalidOperationException", "generate error").WithLocation(1, 1)
403
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "InvalidOperationException", "generate error").WithLocation(1, 1)
779
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "ArgumentException", "The SourceText with hintName 'a.cs' must have an explicit encoding set. (Parameter 'source')").WithLocation(1, 1)
SourceGeneration\SyntaxAwareGeneratorTests.cs (6)
393
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
437
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
535
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("CallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
1878
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("PipelineCallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
1921
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("PipelineCallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
1972
Diagnostic("CS" + (int)ErrorCode.
WRN_GeneratorFailedDuringGeneration
).WithArguments("PipelineCallbackGenerator", "Exception", "Test Exception").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
376
case ErrorCode.
WRN_GeneratorFailedDuringGeneration
:
485
ErrorCode.
WRN_GeneratorFailedDuringGeneration
,