Skip to content

feat: Add get-authorization-context policy support in compiler #327

feat: Add get-authorization-context policy support in compiler

feat: Add get-authorization-context policy support in compiler #327

Triggered via pull request February 27, 2025 16:13
Status Success
Total duration 55s
Artifacts 2

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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/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/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/MockProduct.cs#L10
Non-nullable property 'Apis' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/MockProduct.cs#L12
Non-nullable property 'Groups' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Testing/Expressions/MockProduct.cs#L13
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/MockProduct.cs#L14
Non-nullable property 'Name' 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
154 Bytes
dotnet-test-results
81.8 KB