Add Gemini 3 Pro Image configuration support for Microsoft.Extensions.AI #89
Annotations
10 errors and 10 warnings
|
Build:
tests/AotTest/WeatherServiceTests.cs#L14
'WeatherService' does not contain a definition for 'AsCalls' and no accessible extension method 'AsCalls' accepting a first argument of type 'WeatherService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L13
'WeatherService' does not contain a definition for 'AsTools' and no accessible extension method 'AsTools' accepting a first argument of type 'WeatherService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/MEAITests.cs#L48
The type or namespace name 'Tools' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L40
'ComplexDataTypeService' does not contain a definition for 'AsCalls' and no accessible extension method 'AsCalls' accepting a first argument of type 'ComplexDataTypeService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L40
'ComplexDataTypeService' does not contain a definition for 'AsTools' and no accessible extension method 'AsTools' accepting a first argument of type 'ComplexDataTypeService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L30
'BookStoreService' does not contain a definition for 'AsCalls' and no accessible extension method 'AsCalls' accepting a first argument of type 'BookStoreService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L30
'BookStoreService' does not contain a definition for 'AsTools' and no accessible extension method 'AsTools' accepting a first argument of type 'BookStoreService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/MEAITests.cs#L20
The type or namespace name 'Tools' could not be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L14
'WeatherService' does not contain a definition for 'AsCalls' and no accessible extension method 'AsCalls' accepting a first argument of type 'WeatherService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
tests/AotTest/WeatherServiceTests.cs#L13
'WeatherService' does not contain a definition for 'AsTools' and no accessible extension method 'AsTools' accepting a first argument of type 'WeatherService' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L45
In externally visible method 'void JobStateConverter.Write(Utf8JsonWriter writer, JobState value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L29
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'GenerativeAI.Types.JobStateConverter.Read(ref System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L27
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'GenerativeAI.Types.JobStateConverter.Read(ref System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
Build:
src/GenerativeAI/Clients/BatchClient.cs#L183
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
|
Build:
src/GenerativeAI/Clients/BatchClient.cs#L52
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
|
Build:
src/GenerativeAI/Platforms/VertextPlatformAdapter.cs#L331
In member string VertextPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Build:
src/GenerativeAI/Platforms/GoogleAIPlatformAdapter.cs#L219
In member string GoogleAIPlatformAdapter.GetBaseUrl(bool appendVersion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true), change parameter name appendVersion to appendVesion in order to match the identifier as it has been declared in string IPlatformAdapter.GetBaseUrl(bool appendVesion = true, bool appendPublisher = true, bool appendLocation = true, bool appendProject = true) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Build:
src/GenerativeAI/Core/IPlatformAdapter.cs#L109
Parameter 'appendLocation' has no matching param tag in the XML comment for 'IPlatformAdapter.GetFullyQualifiedModelName(string, bool)' (but other parameters do)
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L43
Missing XML comment for publicly visible type or member 'JobStateConverter.Write(Utf8JsonWriter, JobState, JsonSerializerOptions)'
|
|
Build:
src/GenerativeAI/Types/Jobs/JobStateConverter.cs#L13
Missing XML comment for publicly visible type or member 'JobStateConverter.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)'
|
Loading