Example #1
0
 /// <summary cref="IValueVisitor.Visit(AcceleratorTypeValue)"/>
 public void Visit(AcceleratorTypeValue value) =>
 throw new InvalidCodeGenerationException();
Example #2
0
 /// <summary>
 /// Specializes accelerator-type values.
 /// </summary>
 private static void Specialize(
     RewriterContext context,
     AcceleratorSpecializer specializer,
     AcceleratorTypeValue value) =>
 Specialize(context, value, (int)specializer.AcceleratorType);
Example #3
0
 /// <summary>
 /// Specializes accelerator-type values.
 /// </summary>
 private static void Specialize(
     RewriterContext context,
     SpecializerData data,
     AcceleratorTypeValue value) =>
 Specialize(context, value, (int)data.AcceleratorType);