dynamitey icon indicating copy to clipboard operation
dynamitey copied to clipboard

(pronounced dyna-mighty) flexes DLR muscle to do meta-mazing things in .net

Results 13 dynamitey issues
Sort by recently updated
recently updated
newest added

Hi, I'm working with [Azure.Data.Tables](https://www.nuget.org/packages/Azure.Data.Tables/12.5.0) nuget package and while i'm trying to call an async method on an internal class a RuntimeBinderException is thrown. Here is a test that highlights...

This original code: ``` c# public async ValueTask GetVideoWatchPageAsync( VideoId videoId, CancellationToken cancellationToken = default) { // .... } ``` Is called via: ``` c# var result = await Dynamic.InvokeMember(_controller,...

I tried running the invocation of a generic typed method of a class and got an exception. Switching to use raw .NET reflection with MakeGenericMethod I was able to make...

Attempt at modernizing with C# 8.0 features

This PR kind of fixes #26 It demonstrates what I attempted to fix `InvokeGet` of private static properties (or public property of a non-public type).

I'm migrating an older projects to .NET Standard. Previously I used ImpromputInterface: ```c# Impromptu.InvokeGet(type.WithStaticContext(), "Context"); ``` Where the `type` is for example a nested private class within a test fixture:...

As a first note, I work on mono, not the very newest version from git, but quite new. I may test it on other versions as well, but I will...

**from ekonbenefits/impromptu-interface#9:** by @jdh28 I have a class that I'm creating dynamically via `Dynamic.InvokeConstructor` that has params arguments. If I pass in 14 arguments it works, but 15 causes an...

The NUnit tests had been using the deprecated Assert.AreEqual. These have been changed to the new Assert.That pattern....

During the project's builds, there were a few hundred warnings. This should be cleaned up accordingly.