Skip to content

Conversation

benrr101
Copy link
Contributor

Description: Another easy one, moving the SqlFileStream.Unsupported to the common project. In this instance, the file was renamed to SqlFileStream.netcore.Unix, wrapped in a #if NET, the documentation links were fixed, and the formatting was spaced out a bit (and changed to expression bodies)

Testing: File moved, it's just throws unsupported exceptions, nothing super important is happening.

@benrr101 benrr101 added the Common Project 🚮 Things that relate to the common project project label Apr 25, 2025
@benrr101 benrr101 requested review from a team and Copilot April 25, 2025 22:49
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR consolidates the unsupported SqlFileStream implementation by moving it from its previous location into a new file (SqlFileStream.netcore.Unix.cs) and updating its formatting to use expression-bodied members, with conditional compilation applied via #if NET.

  • Renamed and relocated the unsupported SqlFileStream implementation for Unix.
  • Updated documentation reference paths and applied expression-bodied syntax for consistency.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlTypes/SqlFileStream.netcore.Unix.cs Implements the Unix-specific unsupported SqlFileStream with updated formatting and documentation integration.
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlFileStream.Unsupported.cs Removed to consolidate the unsupported implementation into the common project.
Files not reviewed (1)
  • src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj: Language not supported

Copy link

codecov bot commented Apr 28, 2025

Codecov Report

Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 72.94%. Comparing base (85980b5) to head (1e1ed75).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...rosoft/Data/SqlTypes/SqlFileStream.netcore.Unix.cs 0.00% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3306      +/-   ##
==========================================
- Coverage   72.97%   72.94%   -0.04%     
==========================================
  Files         298      298              
  Lines       57002    57003       +1     
==========================================
- Hits        41600    41578      -22     
- Misses      15402    15425      +23     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 75.21% <0.00%> (-0.10%) ⬇️
netfx 71.49% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@benrr101 benrr101 added this to the 6.1-preview2 milestone Apr 29, 2025
@benrr101 benrr101 merged commit 965e5ff into main May 1, 2025
251 checks passed
@benrr101 benrr101 deleted the dev/russellben/merge/sqlfilestream-unsupported branch May 1, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Common Project 🚮 Things that relate to the common project project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants