コード例 #1
0
ファイル: RubyIO.cs プロジェクト: zgramana/IronLanguages.PCG
        public void Close()
        {
            int fd = _fileDescriptor;

            _mode           = _mode.Close();
            _fileDescriptor = -1;

            if (_stream != null)
            {
                _stream = null;
                _context.CloseStream(fd);
            }
        }
コード例 #2
0
ファイル: StringIO.cs プロジェクト: parhelia512/ironruby
 private void Close()
 {
     _mode = _mode.Close();
 }