typebuilder Questions

1

Solved

Using TypeBuilder, I'm building a class that implements an interface that contains a method. After implementing that method with ILGenerator, then I call TypeBuilder.CreateType() and everything goe...
Pistil asked 12/6, 2019 at 14:49

1

Solved

I'm trying to generate a type at run time via a TypeBuilder. I'm generating the instance methods of the type using a MethodBuilder, however I don't want to generate the il via IlGenerator.Emit; ins...
Aarika asked 1/2, 2014 at 16:45

1

Solved

I am trying to create a dynamic type based on an existing type that contains only public fields. The new dynamic type must also inherit from a different base type which only has a fully implemented...
Yetah asked 27/8, 2013 at 13:44

1

Solved

I'm making a .NET-compliant compiler using Reflection.Emit. The problem is, that although TypeBuilder is derived from Type, it does not let me use all the handy methods that Type provides. The mat...
Upshot asked 5/1, 2013 at 16:33

1

Solved

Say I have a SpaceShip class, like so: public class SpaceShip { public SpaceShip() { } public SpaceShip(IRocketFuelSource fuelSource) { } } I want to use TypeBuilder to create a type at run-ti...
Stadiometer asked 29/7, 2011 at 21:35
1

© 2022 - 2024 — McMap. All rights reserved.