handle yield break
remove private from static ctor
hack around type referenc typeof