Skip to content

feat: Support find-and-replace policy in the compiler #295

feat: Support find-and-replace policy in the compiler

feat: Support find-and-replace policy in the compiler #295

Triggered via pull request January 24, 2025 13:33
Status Failure
Total duration 59s
Artifacts 2

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 2.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/Analyzers/ExpressionDefinition.Analyzer.cs#L13
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Analyzers/ExpressionTypeUsed.Analyzer.cs#L14
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Analyzers/TestGenerator.cs#L8
This compiler extension should not be implemented in an assembly with target framework '.NET 8.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
build: src/Authoring/Attributes/DocumentAttribute.cs#L7
Parameter 'scope' is unread.
build: src/Core/Compiling/Syntax/LocalDeclarationStatementCompiler.cs#L35
Possible null reference argument for parameter 'key' in 'bool IReadOnlyDictionary<string, IReturnValueMethodPolicyHandler>.TryGetValue(string key, out IReturnValueMethodPolicyHandler value)'.
build: src/Core/Compiling/Syntax/LocalDeclarationStatementCompiler.cs#L37
Possible null reference argument for parameter 'node' in 'void IReturnValueMethodPolicyHandler.Handle(ICompilationContext context, InvocationExpressionSyntax node, string variableName)'.
build: src/Testing/Expressions/Extensions/MockJwt.cs#L10
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/Extensions/MockJwt.cs#L11
Non-nullable property 'Algorithm' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/Extensions/MockJwt.cs#L12
Non-nullable property 'Issuer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/Extensions/MockJwt.cs#L13
Non-nullable property 'Subject' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
dotnet-format-report
461 Bytes
dotnet-test-results
78.7 KB