示例#1
0
文件: file.cs 项目: zjmit/go2cs
 // FileConn returns a copy of the network connection corresponding to
 // the open file f.
 // It is the caller's responsibility to close f when finished.
 // Closing c does not affect f, and closing f does not affect c.
 public static (Conn, error) FileConn(ptr <os.File> _addr_f)
 {
     Conn        c   = default;
     error       err = default !;
示例#2
0
文件: file_stub.cs 项目: zjmit/go2cs
 private static (Conn, error) fileConn(ptr <os.File> _addr_f)
 {
     Conn        _p0 = default;
     error       _p0 = default !;