Skip to content

Update analyzer, refactor code, and add abstract class support #14

Update analyzer, refactor code, and add abstract class support

Update analyzer, refactor code, and add abstract class support #14

Triggered via pull request May 31, 2024 21:23
Status Success
Total duration 6m 16s
Artifacts 4

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L35
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Dereference of a possibly null reference.
build (ubuntu-22.04): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L36
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/NoConstructorArgumentsForInterfaceMockAnalyzer.cs#L40
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): Source/Moq.Analyzers/MoqMethodDescriptor.cs#L28
Possible null reference argument for parameter 'methodName' in 'bool MoqMethodDescriptor.DoesShortMethodMatch(string methodName)'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L53
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L54
Possible null reference return.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L61
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L53
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L54
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L61
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L67
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L75
Possible null reference argument for parameter 'expression' in 'IEnumerable<IMethodSymbol> Helpers.GetAllMatchingSymbols<IMethodSymbol>(SemanticModel semanticModel, ExpressionSyntax expression)'.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L87
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L35
Converting null literal or possible null value to non-nullable type.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Dereference of a possibly null reference.
build (windows-2022): Source/Moq.Analyzers/NoSealedClassMocksAnalyzer.cs#L39
Converting null literal or possible null value to non-nullable type.
build (windows-2022): Source/Moq.Analyzers/MoqMethodDescriptor.cs#L28
Possible null reference argument for parameter 'methodName' in 'bool MoqMethodDescriptor.DoesShortMethodMatch(string methodName)'.

Artifacts

Produced during runtime
Name Size
.NET Test Reports (ubuntu-22.04) Expired
2.85 KB
.NET Test Reports (windows-2022) Expired
2.87 KB
binlogs-ubuntu-22.04 Expired
560 KB
binlogs-windows-2022 Expired
577 KB