-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to .Net 9.0 #215
Update to .Net 9.0 #215
Conversation
…ror due to depricated APIs and fixed all warnings (use specific types instead of var, usings consistently declared outside of namespaces, inline arrays declared as class members, class naming conventions, marking internal classes as sealed where possible, don't use .Any() for perf)
@MarkusHorstmann, welcome back :-) Just kidding... Please also have a look at the failed unit tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 97 out of 112 changed files in this pull request and generated no comments.
Files not reviewed (15)
- CloudLibSync/CloudLibSync.csproj: Language not supported
- CloudLibSyncAzureFunction/CloudLibSyncAzureFunction.csproj: Language not supported
- Opc.Ua.CloudLib.Client/Opc.Ua.Cloud.Library.Client.csproj: Language not supported
- Opc.Ua.CloudLib.Client/GraphQlExtensions.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/VariableResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/UANodesetResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/ObjectResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/ReferenceResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/DataResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/MetadataResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/UANameSpace.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/NodeResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/GraphQLNodeSet.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/RestClient.cs: Evaluated as low risk
- .github/workflows/dotnet.yml: Evaluated as low risk
Comments suppressed due to low confidence (5)
CloudLibSyncAzureFunction/CloudSyncFunction.cs:42
- [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'optionError'.
string error = nameof(CloudLibSyncOptions);
CloudLibSyncAzureFunction/CloudSyncFunction.cs:47
- [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'sourceError'.
string error = nameof(options.Value.Source);
CloudLibSyncAzureFunction/CloudSyncFunction.cs:52
- [nitpick] The variable name 'error' is ambiguous. It should be renamed to something more descriptive like 'targetError'.
string error = nameof(options.Value.Target);
CloudLibSync/CloudLibSync.cs:44
- The use of nullable type GraphQlNodeAndCursor? seems unnecessary here since nodeSetResult.Edges should not contain null entries. Change to foreach (GraphQlNodeAndCursor nodeSetAndCursor in nodeSetResult.Edges).
foreach (GraphQlNodeAndCursor<Nodeset>? nodeSetAndCursor in nodeSetResult.Edges)
CloudLibSync/CloudLibSync.cs:136
- The use of nullable type Nodeset? seems unnecessary here since toSync should not contain null entries. Change to foreach (Nodeset nodeSet in toSync).
foreach (Nodeset? nodeSet in toSync)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 97 out of 112 changed files in this pull request and generated no comments.
Files not reviewed (15)
- CloudLibSync/CloudLibSync.csproj: Language not supported
- CloudLibSyncAzureFunction/CloudLibSyncAzureFunction.csproj: Language not supported
- Opc.Ua.CloudLib.Client/Opc.Ua.Cloud.Library.Client.csproj: Language not supported
- Opc.Ua.CloudLib.Client/Models/NodeResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/ObjectResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/GraphQlExtensions.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/VariableResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/UANodesetResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/MetadataResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/DataResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/UANameSpace.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/ReferenceResult.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/RestClient.cs: Evaluated as low risk
- Opc.Ua.CloudLib.Client/Models/GraphQLNodeSet.cs: Evaluated as low risk
- .github/workflows/dotnet.yml: Evaluated as low risk
No description provided.