Example #1
0
 internal EmittedMethodDefinition(string name, MethodSignature signature, ManagedBinaryEmitter managedEmitter)
 {
     Name            = name;
     Signature       = signature;
     _managedEmitter = managedEmitter;
     Code            = new InstructionEncoder(new BlobBuilder());
 }
Example #2
0
 internal EmittedTypeDefinition(string name, bool isValueType, ManagedBinaryEmitter managedEmitter)
 {
     Name            = name;
     IsValueType     = isValueType;
     _managedEmitter = managedEmitter;
 }
Example #3
0
 public static void EmitLdToken(this InstructionEncoder code, TypeSystemEntity typeSystemEntity, ManagedBinaryEmitter emitter)
 {
     code.OpCode(ILOpCode.Ldtoken);
     code.Token(emitter.EmitMetadataHandleForTypeSystemEntity(typeSystemEntity));
 }
Example #4
0
 public EntityProviderForEcmaSignature(ManagedBinaryEmitter emitter)
 {
     _emitter = emitter;
 }