Skip to content

Commit

Permalink
roslyn: always pass assembly-loader=stict to mono
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Dec 29, 2023
1 parent 5dbdf90 commit 11dc296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ycmd/completers/cs/cs_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ def _ConstructOmnisharpCommand( self ):

if ( not utils.OnWindows()
and self._roslyn_path.endswith( '.exe' ) ):
self._omnisharp_command.insert( 0, self._mono_path )
self._omnisharp_command[ : 0 ] = [ self._mono_path,
'--assembly-loader=strict' ]

return self._omnisharp_command

Expand Down

0 comments on commit 11dc296

Please sign in to comment.