Skip to content

style:Run dotnet format #374

style:Run dotnet format

style:Run dotnet format #374

Triggered via pull request June 3, 2024 05:22
Status Failure
Total duration 3m 9s
Artifacts

pull-request.yml

on: pull_request
Build and test  /  Build, test and publish
2m 57s
Build and test / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L119
There is no argument given that corresponds to the required parameter 'message' of 'RequiresUnreferencedCodeAttribute.RequiresUnreferencedCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L120
There is no argument given that corresponds to the required parameter 'message' of 'RequiresDynamicCodeAttribute.RequiresDynamicCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L119
There is no argument given that corresponds to the required parameter 'message' of 'RequiresUnreferencedCodeAttribute.RequiresUnreferencedCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L120
There is no argument given that corresponds to the required parameter 'message' of 'RequiresDynamicCodeAttribute.RequiresDynamicCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L119
There is no argument given that corresponds to the required parameter 'message' of 'RequiresUnreferencedCodeAttribute.RequiresUnreferencedCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L120
There is no argument given that corresponds to the required parameter 'message' of 'RequiresDynamicCodeAttribute.RequiresDynamicCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L119
There is no argument given that corresponds to the required parameter 'message' of 'RequiresUnreferencedCodeAttribute.RequiresUnreferencedCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L120
There is no argument given that corresponds to the required parameter 'message' of 'RequiresDynamicCodeAttribute.RequiresDynamicCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L119
There is no argument given that corresponds to the required parameter 'message' of 'RequiresUnreferencedCodeAttribute.RequiresUnreferencedCodeAttribute(string)'
Build and test / Build, test and publish: src/Providers/Google/src/GoogleChatModel.cs#L120
There is no argument given that corresponds to the required parameter 'message' of 'RequiresDynamicCodeAttribute.RequiresDynamicCodeAttribute(string)'
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoContext.cs#L10
Identifier '_mongoDatabase' is not CLS-compliant
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoDbClient.cs#L87
'CreateCollectionOptions.AutoIndexId' is obsolete: 'AutoIndexId has been deprecated since server version 3.2.'
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoContext.cs#L10
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/IMongoDbClient.cs#L15
Rename virtual/interface member IMongoDbClient.Get<T, TProjected>(Expression<Func<T, bool>>, Expression<Func<T, TProjected>>) so that it no longer conflicts with the reserved language keyword 'Get'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Build and test / Build, test and publish: src/Databases/Mongo/src/MongoVectorDatabase.cs#L19
Change type of field '_client' from 'LangChain.Databases.Mongo.Client.IMongoDbClient' to 'LangChain.Databases.Mongo.Client.MongoDbClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoContext.cs#L10
Identifier '_mongoDatabase' is not CLS-compliant
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoDbClient.cs#L87
'CreateCollectionOptions.AutoIndexId' is obsolete: 'AutoIndexId has been deprecated since server version 3.2.'
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/MongoContext.cs#L10
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build and test / Build, test and publish: src/Databases/Mongo/src/Client/IMongoDbClient.cs#L15
Rename virtual/interface member IMongoDbClient.Get<T, TProjected>(Expression<Func<T, bool>>, Expression<Func<T, TProjected>>) so that it no longer conflicts with the reserved language keyword 'Get'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
Build and test / Build, test and publish: src/Databases/Mongo/src/MongoVectorDatabase.cs#L19
Change type of field '_client' from 'LangChain.Databases.Mongo.Client.IMongoDbClient' to 'LangChain.Databases.Mongo.Client.MongoDbClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)