submodulePath: submodulePath()

in src/docgen/transpile/csharp.ts [53:74]


      submodulePath: submodulePath(submodule),
      source: type,
      language: this.language,
    });
  }

  public callable(callable: reflect.Callable): transpile.TranspiledCallable {
    const type = this.type(callable.parentType);
    const isInitializer = callable.kind === reflect.MemberKind.Initializer;
    const name = isInitializer
      ? type.name
      : Case.pascal(callable.name);

    const parameters = callable.parameters.sort(this.optionalityCompare);
    const paramsFormatted = parameters.map(p => this.formatFnParam(this.parameter(p))).join(', ');
    const prefix = isInitializer || callable.protected ? 'protected' : 'private';
    const signatures = [`${prefix} ${name}(${paramsFormatted})`];
    const invocations = [isInitializer
      ? `new ${name}(${paramsFormatted});`
      : `${type.name}.${name}(${paramsFormatted});`];

    return {