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