Skip to content

Fixing up Mock API tests post C# Beta. #114

Fixing up Mock API tests post C# Beta.

Fixing up Mock API tests post C# Beta. #114

Triggered via pull request September 8, 2023 15:50
Status Failure
Total duration 1m 5s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
build
Process completed with exit code 1.
build: mock-api-test-sdk-net60/AutomationRulesTest.cs#L15
Nullable value type may be null.
build: mock-api-test-sdk-net60/AutomationRulesTest.cs#L23
Nullable value type may be null.
build: mock-api-test-sdk-net60/SightsTest.cs#L15
Nullable value type may be null.
build: mock-api-test-sdk-net60/SightsTest.cs#L23
Nullable value type may be null.
build: mock-api-test-sdk-net60/SightsTest.cs#L63
Nullable value type may be null.
build: mock-api-test-sdk-net60/RowTests.cs#L48
Converting null literal or possible null value to non-nullable type.
build: mock-api-test-sdk-net60/RowTests.cs#L49
Dereference of a possibly null reference.
build: mock-api-test-sdk-net60/RowTests.cs#L49
Converting null literal or possible null value to non-nullable type.
build: mock-api-test-sdk-net60/RowTests.cs#L51
Dereference of a possibly null reference.
build: mock-api-test-sdk-net60/RowTests.cs#L92
Converting null literal or possible null value to non-nullable type.
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/UserResourcesImpl.cs#L46
'UserResourcesImpl.smartsheet' hides inherited member 'AbstractResources.smartsheet'. Use the new keyword if hiding was intended.
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Models/AbstractSheet.cs#L58
'AbstractSheet<TRow, TColumn, TCell>.columns' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Models/AbstractSheet.cs#L145
'AbstractSheet<TRow, TColumn, TCell>.rows' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Http/DefaultHttpClient.cs#L137
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/OAuth/OAuthFlowImpl.cs#L651
'SHA256Managed' is obsolete: 'Derived cryptographic types are obsolete. Use the Create method on the base type instead.'
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Http/DefaultHttpClient.cs#L225
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Json/WidgetContentConverter.cs#L165
Field 'WidgetContentConverter.WidgetContentSuperset.url' is never assigned to, and will always have its default value null
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Json/ObjectValueTypeConverter.cs#L155
Field 'ObjectValueTypeConverter.ObjectValueAttributeSuperset.refIndex' is never assigned to, and will always have its default value 0
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Json/WidgetContentConverter.cs#L150
Field 'WidgetContentConverter.WidgetContentSuperset.format' is never assigned to, and will always have its default value null
build: smartsheet-csharp-sdk/main/Smartsheet/Api/Internal/Json/WidgetContentConverter.cs#L148
Field 'WidgetContentConverter.WidgetContentSuperset.privateId' is never assigned to, and will always have its default value null