Пример #1
0
 public LleStructValueTest(MockModuleFixture fixture)
 {
     _fixture     = fixture ?? throw new ArgumentNullException(nameof(fixture));
     _environment = new MockCilRuntimeEnvironment(_fixture.MockModule, false);
 }
Пример #2
0
 private static IConcreteValue InvokeAndGetResult(ICilRuntimeEnvironment environment, CilInstruction instruction,
                                                  in MethodDevirtualizationResult methodDispatch, IList <ICliValue> arguments)
Пример #3
0
 /// <summary>
 /// Creates a new instance of the <see cref="DefaultCliMarshaller"/> class.
 /// </summary>
 /// <param name="environment">The environment this marshaller is for.</param>
 public DefaultCliMarshaller(ICilRuntimeEnvironment environment)
 {
     Environment = environment ?? throw new ArgumentNullException(nameof(environment));
 }
Пример #4
0
 /// <summary>
 /// Creates a new instance of the <see cref="UnknownValueFactory"/> class.
 /// </summary>
 public UnknownValueFactory(ICilRuntimeEnvironment environment)
 {
     _environment = environment ?? throw new ArgumentNullException(nameof(environment));
 }