Not sure if there is a SO bug reporting page and if so I'll delete this... but it came to light with this answer
It appears if you try to have a code block immediately follow a list then the first line of the code isn't formatted..
- list item
list item
public void Code() {
In order for a temporary fix I introduced a character on a new line..
- list item
- list item
'
public void Code()
{