TypeReferencePrototype.cs 391 B

1234567891011121314
  1. using Jint.Native.Object;
  2. namespace Jint.Runtime.Interop;
  3. internal sealed class TypeReferencePrototype : ObjectInstance
  4. {
  5. public TypeReferencePrototype(Engine engine, TypeReference typeReference) : base(engine)
  6. {
  7. TypeReference = typeReference;
  8. _prototype = engine.Realm.Intrinsics.Object.PrototypeObject;
  9. }
  10. public TypeReference TypeReference { get; }
  11. }