private bool DeclaredByContractType(MethodReference method) { return(ContractBase.IsAssignableFrom(method.DeclaringType)); }