Skip to content

kjchiu/inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inspector

Tiny type/method call indexer created because Visual Studio's Find All References only searches currently opened projects.

Mostly created as an excuse to mess around with cci.metadata and MongoDB

Injector

Default api for injecting ops is kinda ugly

(method.Body as MethodBody).Operations.Insert(0
                                            , new Operation() 
                                              { 
                                                OperationCode = OperationCode.Ldstr
                                              , Value = "hello world" });

A new Block type, indexers, and some static type checks later we get

Injector.Inject(method, new Block()
  [Ops.Ldstr, "hello world"]
  [Ops.Call, Console.WriteLine]);

Okay so the console.writeline delegate was a lie. Pretend it's actually the IMethodDefinition

About

.Net Function call indexer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages