Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Codegen IntPtr-accepting overloads of methods with native pointers #95

Closed
vbfox opened this issue Dec 1, 2015 · 3 comments
Closed

Codegen IntPtr-accepting overloads of methods with native pointers #95

vbfox opened this issue Dec 1, 2015 · 3 comments
Assignees

Comments

@vbfox
Copy link
Collaborator

vbfox commented Dec 1, 2015

#76 should be done first. See that issue for the rationale.

For now we'll use only a few pointers when deemed necessary and hand-craft IntPtr alternatives, but what would really be interesting is to only have to write the pointer versions and have the IntPtr overload auto-generated.

Code generation will also be needed for #55 so both issues would need the same infrastructure.

@vbfox vbfox added this to the 2.0 milestone Dec 1, 2015
@AArnott AArnott changed the title Use pointer types everywhere and codegen an IntPtr version Codegen IntPtr-accepting overloads of methods with native pointers Dec 1, 2015
@AArnott
Copy link
Collaborator

AArnott commented Dec 1, 2015

Code generation will also be needed for #55 so both issues would need the same infrastructure.

Just a note: #55 might be rather different from this one at least in how it's wired up. #55 may produce a separate assembly and that assembly might be in its own NuGet package as well, whereas the code gen for IntPtr would definitely produce code for the same assembly.

@AArnott
Copy link
Collaborator

AArnott commented Dec 12, 2015

I'm going to do some experimentation with this using the basis for build-time code generation I developed here: https://github.com/AArnott/ImmutableObjectGraph/tree/master/src/ImmutableObjectGraph.CodeGeneration

@AArnott AArnott self-assigned this Dec 12, 2015
@AArnott
Copy link
Collaborator

AArnott commented Dec 16, 2015

OK, I've finished pulling out the basis of build-time code generation into this new project:
https://github.com/AArnott/CodeGeneration.Roslyn

I'll work on applying it to this project next.

@AArnott AArnott closed this as completed Dec 19, 2015
@AArnott AArnott removed this from the 2.0 milestone Jul 20, 2016
AArnott pushed a commit that referenced this issue Oct 30, 2022
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants