Skip to content

.Net: Fixing CodeQL failure - #12172

Merged
westey (westey-m) merged 1 commit into
microsoft:mainfrom
westey-m:codeql-pgvect-fix
May 19, 2025
Merged

westey (westey-m) merged 1 commit into
microsoft:mainfrom
westey-m:codeql-pgvect-fix

Conversation

@westey-m

Copy link
Copy Markdown
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 (westey-m) requested a review from a team as a code owner May 19, 2025 19:02
@markwallace-microsoft Mark Wallace (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 (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
@westey-m
westey (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 😄

This branch was previously deployed

1 inactive deployment
integration — b53f9efb Deployed May 19, 2025 by westey-m
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