Skip to content

Conversation

@akhera99
Copy link
Member

Draft to test workflow. (created with github copilot CLI)

@akhera99 akhera99 requested a review from a team as a code owner December 11, 2025 17:34
/// Checks if the proposed replacement text conflicts with an existing declaration.
/// Returns true if there is a conflict, along with an error message.
/// </summary>
bool CheckDeclarationConflict(string replacementText, [NotNullWhen(true)] out string? message);
Copy link
Member

Choose a reason for hiding this comment

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

  1. why not just have this return a string? as the result type?
  2. why do we need a special entrypoint here? Specifically, it's unclear how this differs from information in IInlineRenameLocationSet. like IInlineRenameLocationSet.IInlineRenameReplacementInfo, and whatnot.

Do we not already ahve mechanisms to report conflicts? Why a special new one?

@CyrusNajmabadi
Copy link
Member

Needs some tests...
Not sure if this is fixing a bug of some sort.

@akhera99 akhera99 marked this pull request as draft December 11, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants