&& is notoriously hard to search for on Google Search, but the best I\'ve found is this article which says to use -and.
&&
-and
Unfortunatel
Try this:
$errorActionPreference='Stop'; csc /t:exe /out:a.exe SomeFile.cs; a.exe