Fixed issue in Razor with references  exclusion on Mono.