Skip to content

.Net: Fixing CodeQL failure#12172

Merged
westey-m merged 1 commit intomicrosoft:mainfrom
westey-m:codeql-pgvect-fix
May 19, 2025
Merged

.Net: Fixing CodeQL failure#12172
westey-m merged 1 commit intomicrosoft:mainfrom
westey-m:codeql-pgvect-fix

Conversation

@westey-m
Copy link
Contributor

Description

Fixing CodeQL build error:

PostgresEmbeddingTypeTests.cs(48,36): error CS0121: The call is ambiguous between the following methods or properties: 'BitArray.BitArray(bool[])' and 'BitArray.BitArray(BitArray)'

Contribution Checklist

@westey-m westey-m requested a review from a team as a code owner May 19, 2025 19:02
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label May 19, 2025
@github-actions github-actions bot changed the title Fixing CodeQL failure .Net: Fixing CodeQL failure May 19, 2025
@westey-m westey-m enabled auto-merge May 19, 2025 19:02
@westey-m westey-m added this pull request to the merge queue May 19, 2025
Merged via the queue into microsoft:main with commit 54519f0 May 19, 2025
21 checks passed
@westey-m westey-m deleted the codeql-pgvect-fix branch May 19, 2025 19:30
jcruzmot-te pushed a commit to thousandeyes/aia-semantic-kernel that referenced this pull request Sep 15, 2025
### Description

Fixing CodeQL build error:
```
PostgresEmbeddingTypeTests.cs(48,36): error CS0121: The call is ambiguous between the following methods or properties: 'BitArray.BitArray(bool[])' and 'BitArray.BitArray(BitArray)'
```

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants