void CreateMethod(string fileName, DomRegion region, DomRegion bodyRegion) { methodHelper.CreateMethod("Class1.MyMethod"); methodHelper.SetRegion(region); methodHelper.SetBodyRegion(bodyRegion); methodHelper.SetCompilationUnitFileName(fileName); }