Premake: Ignore temporary generated .cs files in obj/ subfolders.
Function: More accurate detection of value types for this (TypeReference might be wrong).