-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expose RemoteAddress on IChannel #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
In C#/.NET, is adding a new property without a default implementation to a public interface considered a breaking change for existing external implementers?💡 Result:
Yes, adding a new property without a default implementation to a public interface in C#/.NET is considered a breaking change for existing external implementers. Existing classes implementing the interface will fail to compile because they must provide an implementation for all members, including the new abstract property. This requires recompilation and updates to those classes. Microsoft's official .NET library compatibility guidelines classify "Adding a member to an interface" as requiring judgment, noting potential compile failures without default implementations (DIMs, introduced in C# 8.0/.NET Core 3.0). The .NET SDK's APICompat analyzer explicitly validates and warns against adding members to interfaces (PR
#18834), treating it as a breaking change. Runtime guidelines disallow "Adding an abstract method to an interface". Default interface methods (C# 8+) allow non-breaking additions by providing implementations, but without them, it's breaking. Pre-C# 8, interfaces were immutable post-release to avoid breaks.Citations:
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 108
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 1641
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 1354
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 1639
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 260
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 137
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 4712
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 2114
Bump version to 8.0.0 for this breaking interface change.
IChannelis a public interface with a new required propertyRemoteAddressthat lacks a default implementation. All external implementations must be updated to compile. This breaking change requires a major version bump per SemVer;7.2.0understates the compatibility impact.Suggested fix
🤖 Prompt for AI Agents