Initial Version #83
Annotations
4 errors
Immediate.Handlers.Tests.AnalyzerTests.HandlerClassAnalyzerTests.HandleMethodDoesNotDefineTwoParameters_AlertDiagnostic:
tests/Immediate.Handlers.Tests/AnalyzerTests/HandlerClassAnalyzerTests.cs#L117
System.InvalidOperationException : Expected diagnostic to start on line "16" was actually on line "15"
Expected diagnostic:
// /0/Test0.cs(16,27): error IH0003: Method 'HandleAsync' must receive the request and a CancellationToken
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0003).WithLocation(16, 27).WithArguments("HandleAsync"),
Actual diagnostic:
// /0/Test0.cs(15,27): error IH0003: Method 'HandleAsync' must receive the request and a CancellationToken
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0003).WithSpan(15, 27, 15, 38).WithArguments("HandleAsync"),
|
Immediate.Handlers.Tests.AnalyzerTests.HandlerClassAnalyzerTests.HandleMethodDoesNotExist_AlertDiagnostic:
tests/Immediate.Handlers.Tests/AnalyzerTests/HandlerClassAnalyzerTests.cs#L35
System.InvalidOperationException : Expected diagnostic to start on line "12" was actually on line "11"
Expected diagnostic:
// /0/Test0.cs(12,21): error IH0001: Handler type 'GetUsersQuery' should implement a HandleAsync method
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0001).WithLocation(12, 21).WithArguments("GetUsersQuery"),
Actual diagnostic:
// /0/Test0.cs(11,21): error IH0001: Handler type 'GetUsersQuery' should implement a HandleAsync method
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0001).WithSpan(11, 21, 11, 34).WithArguments("GetUsersQuery"),
|
Immediate.Handlers.Tests.AnalyzerTests.HandlerClassAnalyzerTests.HandleMethodDoesNotReturnTask_AlertDiagnostic:
tests/Immediate.Handlers.Tests/AnalyzerTests/HandlerClassAnalyzerTests.cs#L83
System.InvalidOperationException : Expected diagnostic to start on line "16" was actually on line "15"
Expected diagnostic:
// /0/Test0.cs(16,36): error IH0002: Method 'HandleAsync' must return a Task<T>
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0002).WithLocation(16, 36).WithArguments("HandleAsync"),
Actual diagnostic:
// /0/Test0.cs(15,36): error IH0002: Method 'HandleAsync' must return a Task<T>
VerifyCS.Diagnostic(HandlerClassAnalyzer.IH0002).WithSpan(15, 36, 15, 47).WithArguments("HandleAsync"),
|
build
Process completed with exit code 1.
|