Skip to content
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

Override Write method in SingleLineCommentStatement #6136

Closed
JoshLove-msft opened this issue Feb 25, 2025 · 0 comments · Fixed by #6141
Closed

Override Write method in SingleLineCommentStatement #6136

JoshLove-msft opened this issue Feb 25, 2025 · 0 comments · Fixed by #6141
Assignees
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@JoshLove-msft
Copy link
Contributor

JoshLove-msft commented Feb 25, 2025

Currently we don't override Write so nothing gets written. We should also consider making Write in MethodBodyStatement abstract, so that this doesn't come up with other types.

@JoshLove-msft JoshLove-msft added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Feb 25, 2025
@JoshLove-msft JoshLove-msft self-assigned this Feb 25, 2025
github-merge-queue bot pushed a commit that referenced this issue Feb 25, 2025
Fixes #6136

Also make MethodBodyStatement.Write `abstract`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant