Skip to content

Replace our custom test harness with Microsoft.CodeAnalysis testing harness #65

Replace our custom test harness with Microsoft.CodeAnalysis testing harness

Replace our custom test harness with Microsoft.CodeAnalysis testing harness #65

Triggered via pull request June 7, 2024 00:54
Status Success
Total duration 8m 55s
Artifacts 6

main.yml

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

Annotations

20 warnings
build (ubuntu-22.04): Source/Moq.Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs#L66
Possible null reference argument for parameter 'expression' in 'TypeInfo CSharpExtensions.GetTypeInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
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/NoSealedClassMocksAnalyzer.cs#L56
The result of the expression is always 'false' since a value of type 'SeparatedSyntaxList<TypeSyntax>' is never equal to 'null' of type 'SeparatedSyntaxList<TypeSyntax>?'
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L36
Possible null reference argument for parameter 'node' in 'SymbolInfo ModelExtensions.GetSymbolInfo(SemanticModel semanticModel, SyntaxNode node, CancellationToken cancellationToken = default(CancellationToken))'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L43
Possible null reference argument for parameter 'symbol' in 'bool Helpers.IsCallbackOrReturnSymbol(ISymbol symbol)'.
build (ubuntu-22.04): Source/Moq.Analyzers/Helpers.cs#L53
Possible null reference return.
build (windows-2022): Source/Moq.Analyzers/CallbackSignatureShouldMatchMockedMethodAnalyzer.cs#L66
Possible null reference argument for parameter 'expression' in 'TypeInfo CSharpExtensions.GetTypeInfo(SemanticModel? semanticModel, ExpressionSyntax expression, CancellationToken cancellationToken = default(CancellationToken))'.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L36
Possible null reference argument for parameter 'node' in 'SymbolInfo ModelExtensions.GetSymbolInfo(SemanticModel semanticModel, SyntaxNode node, CancellationToken cancellationToken = default(CancellationToken))'.
build (windows-2022): Source/Moq.Analyzers/Helpers.cs#L43
Possible null reference argument for parameter 'symbol' in 'bool Helpers.IsCallbackOrReturnSymbol(ISymbol symbol)'.
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)'.

Artifacts

Produced during runtime
Name Size
.NET Test Reports (ubuntu-22.04) Expired
7.12 KB
.NET Test Reports (windows-2022) Expired
7.15 KB
binlogs-ubuntu-22.04 Expired
558 KB
binlogs-windows-2022 Expired
582 KB
packages-ubuntu-22.04 Expired
27.7 KB
packages-windows-2022 Expired
27.9 KB