Skip to content

#12: Add support for shimming async methods#29

Open
Miista wants to merge 49 commits intomasterfrom
12-add-async-support
Open

#12: Add support for shimming async methods#29
Miista wants to merge 49 commits intomasterfrom
12-add-async-support

Conversation

@Miista
Copy link
Owner

@Miista Miista commented Jan 27, 2024

@Miista
Copy link
Owner Author

Miista commented Jan 27, 2024

Before I'll merge this I would like it to be put through its paces thoroughly.

@Miista Miista changed the title 12: Add support for shimming async methods #12: Add support for shimming async methods Jan 29, 2024
Miista added 28 commits May 2, 2024 14:33
…from-within-posecontextisolate

#26: Enum.IsDefined cannot be called from within PoseContext.Isolate
This was done because I could not get the DEBUG symbol to not be generated.
Thus, the output console would be swarmed with debug information even if the solution was executed in release mode.
@Miista Miista force-pushed the 12-add-async-support branch from eaf3473 to 5b5908e Compare January 16, 2025 11:58
@Miista
Copy link
Owner Author

Miista commented Oct 28, 2025

For whatever reason which I can't quite comprehend right now, shimming async methods seems to work as expected when targeting .NET 4.7 and .NET 4.8. See image below. Frameworks higher than these do not work.

image

# Conflicts:
#	README.md
#	nuget/Poser.nuspec
#	src/Pose/IL/MethodRewriter.cs
#	src/Pose/IL/Stubs.cs
#	src/Pose/Pose.csproj
#	src/Pose/PoseContext.cs
#	src/Sandbox/Program.cs
#	src/Sandbox/Sandbox.csproj
#	test/Pose.Tests/IL/StubsTests.cs
#	test/Pose.Tests/Pose.Tests.csproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant