Fixed a crash that may happen when the resolver can't resolve a c#
file.