omnisharp-vim doesn't recognize record

I used vim-plug to install omnisharp-vim
Plug ''
Plug '' " coc

and it doesn't seem to recognize record and rather it sees it as a method (and so does tagbar, i guess) how should i resolve this?

additional info you might want
vim version: NVIM v0.8.0-1210-gd367ed9b2
node version: v16.18.0
coc.nvim version: 0.0.82-'916b031 2022-10-31 17:53:57 +0800'
coc.nvim directory: C:\Users\HANU\AppData\Local\nvim-data\plugged\coc.nvim
term: vtpcon
platform: win32