System.Threading.Tasks.Task Test.Interfaces.IPerson.Marry(Test.Interfaces.IPerson spouse) { return base.InvokeMethodAsync<object>(1859357851, new object[] {spouse is global::Orleans.Grain ? Test.Interfaces.PersonFactory.Cast(spouse.AsReference()) : spouse} ); }